home *** CD-ROM | disk | FTP | other *** search
/ MacWarehouse Macintosh Games / MacWarehouse Macintosh Games.iso / AMBER demo / AMBER-Journeys Beyond™ Patch 1c < prev    next >
Macromedia Director  |  1997-02-19  |  191.8 KB  |  [MJ93/MD93]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Macromedia Director (archive/macromediaDirector).

You can browse this item here: AMBER-Journeys Beyond™ Patch 1c

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Macromedia Director (archive/macromediaDirector) magic Supported
1% dexvert RIFF (Generic Fallback) (archive/riff) fallback Supported
100% file RIFF (big-endian) data default
99% file data default
44% TrID Macromedia Director project (Big-endian) default
22% TrID Adobe Director Protected Cast (MV93) default
22% TrID Generic RIFX container (big-endian) default
11% TrID Philips Respironics M-Series data format default (weak)


id metadata
keyvalue
macFileType[MJ93]
macFileCreator[MD93]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 52 49 46 58 00 02 ff 34 | 4d 56 39 33 69 6d 61 70 |RIFX...4|MV93imap|
|00000010| 00 00 00 18 00 00 00 01 | 00 00 00 2c 00 00 00 00 |........|...,....|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 6d 6d 61 70 |........|....mmap|
|00000030| 00 00 0a a4 00 18 00 14 | 00 00 00 87 00 00 00 69 |........|.......i|
|00000040| ff ff ff ff ff ff ff ff | 00 00 00 30 52 49 46 58 |........|...0RIFX|
|00000050| 00 02 ff 34 00 00 00 00 | 00 01 00 00 00 00 00 00 |...4....|........|
|00000060| 69 6d 61 70 00 00 00 18 | 00 00 00 0c 00 01 00 00 |imap....|........|
|00000070| 05 2e 88 8c 6d 6d 61 70 | 00 00 0a a4 00 00 00 2c |....mmap|.......,|
|00000080| 00 00 00 00 05 2e 88 10 | 4b 45 59 2a 00 00 01 74 |........|KEY*...t|
|00000090| 00 00 0a d8 00 00 00 00 | 00 00 00 00 56 57 43 46 |........|....VWCF|
|000000a0| 00 00 00 50 00 00 0c 54 | 00 00 00 00 00 00 00 00 |...P...T|........|
|000000b0| 43 41 53 2a 00 00 01 b4 | 00 00 0c de 00 00 00 00 |CAS*....|........|
|000000c0| 00 00 00 00 4c 63 74 78 | 00 00 00 ca 00 01 d8 ac |....Lctx|........|
|000000d0| 00 00 00 00 00 00 00 00 | 43 41 53 74 00 00 4b 88 |........|CASt..K.|
|000000e0| 00 00 1a e0 00 00 00 00 | 00 00 00 00 43 41 53 74 |........|....CASt|
|000000f0| 00 00 0b 12 00 00 66 70 | 00 00 00 00 00 00 00 00 |......fp|........|
|00000100| 46 58 6d 70 00 00 1a 01 | 00 02 7e 34 00 00 00 00 |FXmp....|..~4....|
|00000110| 00 00 00 00 53 6f 72 64 | 00 00 00 2a 00 00 0c ac |....Sord|...*....|
|00000120| 00 00 00 00 00 00 00 00 | 56 57 46 49 00 00 00 70 |........|VWFI...p|
|00000130| 00 02 98 3e 00 00 00 00 | 00 00 00 00 54 48 55 4d |...>....|....THUM|
|00000140| 00 00 0c 60 00 02 f2 cc | 00 00 00 00 00 00 00 00 |...`....|........|
|00000150| 43 41 53 74 00 00 07 58 | 00 01 c7 ba 00 00 00 00 |CASt...X|........|
|00000160| 00 00 00 00 4c 73 63 72 | 00 00 01 cc 00 01 d9 7e |....Lscr|.......~|
|00000170| 00 00 00 00 00 00 00 00 | 56 57 46 4d 00 00 00 00 |........|VWFM....|
|00000180| 00 02 ff 34 00 00 00 00 | 00 00 00 00 66 72 65 65 |...4....|....free|
|00000190| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 13 |........|........|
|000001a0| 46 6d 61 70 00 00 00 77 | 00 02 7d b4 00 00 00 00 |Fmap...w|..}.....|
|000001b0| 00 00 00 00 4c 73 63 72 | 00 00 04 c4 00 01 db 52 |....Lscr|.......R|
|000001c0| 00 00 00 00 00 00 00 00 | 66 72 65 65 00 00 00 00 |........|free....|
|000001d0| 00 00 00 00 00 0c 00 00 | 00 00 00 1c 4c 6e 61 6d |........|....Lnam|
|000001e0| 00 00 2f 20 00 02 4e 8c | 00 00 00 00 00 00 00 00 |../ ..N.|........|
|000001f0| 4c 73 63 72 00 00 02 46 | 00 01 e0 1e 00 00 00 00 |Lscr...F|........|
|00000200| 00 00 00 00 43 41 53 74 | 00 00 00 7a 00 00 1a 5e |....CASt|...z...^|
|00000210| 00 00 00 00 00 00 00 00 | 53 54 58 54 00 00 02 a6 |........|STXT....|
|00000220| 00 02 98 b6 00 00 00 00 | 00 00 00 00 43 41 53 74 |........|....CASt|
|00000230| 00 00 0a ce 00 00 0e 9a | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 4c 73 63 72 00 00 00 96 | 00 01 e2 6c 00 00 00 00 |Lscr....|...l....|
|00000250| 00 00 00 00 43 41 53 74 | 00 00 5e 1a 00 00 71 8a |....CASt|..^...q.|
|00000260| 00 00 00 00 00 00 00 00 | 43 41 53 74 00 00 5c 0b |........|CASt..\.|
|00000270| 00 00 cf ac 00 00 00 00 | 00 00 00 00 66 72 65 65 |........|....free|
|00000280| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 27 |........|.......'|
|00000290| 43 41 53 74 00 00 43 77 | 00 01 2b c0 00 00 00 00 |CASt..Cw|..+.....|
|000002a0| 00 00 00 00 4c 73 63 72 | 00 00 14 52 00 01 e3 0a |....Lscr|...R....|
|000002b0| 00 00 00 00 00 00 00 00 | 4c 73 63 72 00 00 10 e6 |........|Lscr....|
|000002c0| 00 01 f7 64 00 00 00 00 | 00 00 00 00 66 72 65 65 |...d....|....free|
|000002d0| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 5f |........|......._|
|000002e0| 4c 73 63 72 00 00 16 dc | 00 02 08 52 00 00 00 00 |Lscr....|...R....|
|000002f0| 00 00 00 00 4c 73 63 72 | 00 00 17 2c 00 02 1f 36 |....Lscr|...,...6|
|00000300| 00 00 00 00 00 00 00 00 | 43 41 53 74 00 00 09 89 |........|CASt....|
|00000310| 00 01 cf 1a 00 00 00 00 | 00 00 00 00 43 41 53 74 |........|....CASt|
|00000320| 00 00 58 71 00 01 6f 40 | 00 00 00 00 00 00 00 00 |..Xq..o@|........|
|00000330| 42 49 54 44 00 00 57 60 | 00 02 9b 64 00 00 00 00 |BITD..W`|...d....|
|00000340| 00 00 00 00 43 41 53 74 | 00 00 00 e5 00 00 19 70 |....CASt|.......p|
|00000350| 00 00 00 00 00 00 00 00 | 66 72 65 65 00 00 00 00 |........|free....|
|00000360| 00 00 00 00 00 0c 00 00 | 00 00 00 29 66 72 65 65 |........|...)free|
|00000370| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 10 |........|........|
|00000380| 66 72 65 65 00 00 00 00 | 00 00 00 00 00 0c 00 00 |free....|........|
|00000390| 00 00 00 2a 66 72 65 65 | 00 00 00 00 00 00 00 00 |...*free|........|
|000003a0| 00 0c 00 00 00 00 00 2b | 66 72 65 65 00 00 00 00 |.......+|free....|
|000003b0| 00 00 00 00 00 0c 00 00 | 00 00 00 2c 66 72 65 65 |........|...,free|
|000003c0| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 2d |........|.......-|
|000003d0| 66 72 65 65 00 00 00 00 | 00 00 00 00 00 0c 00 00 |free....|........|
|000003e0| 00 00 00 2e 66 72 65 65 | 00 00 00 00 00 00 00 00 |....free|........|
|000003f0| 00 0c 00 00 00 00 00 2f | 66 72 65 65 00 00 00 00 |......./|free....|
|00000400| 00 00 00 00 00 0c 00 00 | 00 00 00 31 66 72 65 65 |........|...1free|
|00000410| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 20 |........|....... |
|00000420| 66 72 65 65 00 00 00 00 | 00 00 00 00 00 0c 00 00 |free....|........|
|00000430| 00 00 00 32 66 72 65 65 | 00 00 00 00 00 00 00 00 |...2free|........|
|00000440| 00 0c 00 00 00 00 00 33 | 66 72 65 65 00 00 00 00 |.......3|free....|
|00000450| 00 00 00 00 00 0c 00 00 | 00 00 00 36 4c 73 63 72 |........|...6Lscr|
|00000460| 00 00 03 58 00 02 36 6a | 00 00 00 00 00 00 00 00 |...X..6j|........|
|00000470| 4c 73 63 72 00 00 14 ba | 00 02 39 ca 00 00 00 00 |Lscr....|..9.....|
|00000480| 00 00 00 00 66 72 65 65 | 00 00 00 00 00 00 00 00 |....free|........|
|00000490| 00 0c 00 00 00 00 00 37 | 66 72 65 65 00 00 00 00 |.......7|free....|
|000004a0| 00 00 00 00 00 0c 00 00 | 00 00 00 38 66 72 65 65 |........|...8free|
|000004b0| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 39 |........|.......9|
|000004c0| 66 72 65 65 00 00 00 00 | 00 00 00 00 00 0c 00 00 |free....|........|
|000004d0| 00 00 00 3a 66 72 65 65 | 00 00 00 00 00 00 00 00 |...:free|........|
|000004e0| 00 0c 00 00 00 00 00 3b | 66 72 65 65 00 00 00 00 |.......;|free....|
|000004f0| 00 00 00 00 00 0c 00 00 | 00 00 00 3c 66 72 65 65 |........|...<free|
|00000500| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 3d |........|.......=|
|00000510| 66 72 65 65 00 00 00 00 | 00 00 00 00 00 0c 00 00 |free....|........|
|00000520| 00 00 00 3e 66 72 65 65 | 00 00 00 00 00 00 00 00 |...>free|........|
|00000530| 00 0c 00 00 00 00 00 3f | 66 72 65 65 00 00 00 00 |.......?|free....|
|00000540| 00 00 00 00 00 0c 00 00 | 00 00 00 40 66 72 65 65 |........|...@free|
|00000550| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 41 |........|.......A|
|00000560| 66 72 65 65 00 00 00 00 | 00 00 00 00 00 0c 00 00 |free....|........|
|00000570| 00 00 00 42 66 72 65 65 | 00 00 00 00 00 00 00 00 |...Bfree|........|
|00000580| 00 0c 00 00 00 00 00 43 | 66 72 65 65 00 00 00 00 |.......C|free....|
|00000590| 00 00 00 00 00 0c 00 00 | 00 00 00 44 66 72 65 65 |........|...Dfree|
|000005a0| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 45 |........|.......E|
|000005b0| 66 72 65 65 00 00 00 00 | 00 00 00 00 00 0c 00 00 |free....|........|
|000005c0| 00 00 00 46 66 72 65 65 | 00 00 00 00 00 00 00 00 |...Ffree|........|
|000005d0| 00 0c 00 00 00 00 00 47 | 66 72 65 65 00 00 00 00 |.......G|free....|
|000005e0| 00 00 00 00 00 0c 00 00 | 00 00 00 48 66 72 65 65 |........|...Hfree|
|000005f0| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 49 |........|.......I|
|00000600| 66 72 65 65 00 00 00 00 | 00 00 00 00 00 0c 00 00 |free....|........|
|00000610| 00 00 00 4a 66 72 65 65 | 00 00 00 00 00 00 00 00 |...Jfree|........|
|00000620| 00 0c 00 00 00 00 00 4b | 66 72 65 65 00 00 00 00 |.......K|free....|
|00000630| 00 00 00 00 00 0c 00 00 | 00 00 00 4c 66 72 65 65 |........|...Lfree|
|00000640| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 4d |........|.......M|
|00000650| 66 72 65 65 00 00 00 00 | 00 00 00 00 00 0c 00 00 |free....|........|
|00000660| 00 00 00 4e 66 72 65 65 | 00 00 00 00 00 00 00 00 |...Nfree|........|
|00000670| 00 0c 00 00 00 00 00 4f | 66 72 65 65 00 00 00 00 |.......O|free....|
|00000680| 00 00 00 00 00 0c 00 00 | 00 00 00 50 66 72 65 65 |........|...Pfree|
|00000690| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 51 |........|.......Q|
|000006a0| 66 72 65 65 00 00 00 00 | 00 00 00 00 00 0c 00 00 |free....|........|
|000006b0| 00 00 00 52 66 72 65 65 | 00 00 00 00 00 00 00 00 |...Rfree|........|
|000006c0| 00 0c 00 00 00 00 00 53 | 66 72 65 65 00 00 00 00 |.......S|free....|
|000006d0| 00 00 00 00 00 0c 00 00 | 00 00 00 54 66 72 65 65 |........|...Tfree|
|000006e0| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 55 |........|.......U|
|000006f0| 66 72 65 65 00 00 00 00 | 00 00 00 00 00 0c 00 00 |free....|........|
|00000700| 00 00 00 56 66 72 65 65 | 00 00 00 00 00 00 00 00 |...Vfree|........|
|00000710| 00 0c 00 00 00 00 00 57 | 66 72 65 65 00 00 00 00 |.......W|free....|
|00000720| 00 00 00 00 00 0c 00 00 | 00 00 00 58 66 72 65 65 |........|...Xfree|
|00000730| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 59 |........|.......Y|
|00000740| 66 72 65 65 00 00 00 00 | 00 00 00 00 00 0c 00 00 |free....|........|
|00000750| 00 00 00 5a 66 72 65 65 | 00 00 00 00 00 00 00 00 |...Zfree|........|
|00000760| 00 0c 00 00 00 00 00 5b | 66 72 65 65 00 00 00 00 |.......[|free....|
|00000770| 00 00 00 00 00 0c 00 00 | 00 00 00 5c 66 72 65 65 |........|...\free|
|00000780| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 5d |........|.......]|
|00000790| 66 72 65 65 00 00 00 00 | 00 00 00 00 00 0c 00 00 |free....|........|
|000007a0| 00 00 00 5e 66 72 65 65 | 00 00 00 00 00 00 00 00 |...^free|........|
|000007b0| 00 0c 00 00 00 00 00 60 | 66 72 65 65 00 00 00 00 |.......`|free....|
|000007c0| 00 00 00 00 00 0c 00 00 | 00 00 00 28 66 72 65 65 |........|...(free|
|000007d0| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 61 |........|.......a|
|000007e0| 66 72 65 65 00 00 00 00 | 00 00 00 00 00 0c 00 00 |free....|........|
|000007f0| 00 00 00 62 66 72 65 65 | 00 00 00 00 00 00 00 00 |...bfree|........|
|00000800| 00 0c 00 00 00 00 00 63 | 66 72 65 65 00 00 00 00 |.......c|free....|
|00000810| 00 00 00 00 00 0c 00 00 | 00 00 00 64 66 72 65 65 |........|...dfree|
|00000820| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 65 |........|.......e|
|00000830| 66 72 65 65 00 00 00 00 | 00 00 00 00 00 0c 00 00 |free....|........|
|00000840| 00 00 00 66 66 72 65 65 | 00 00 00 00 00 00 00 00 |...ffree|........|
|00000850| 00 0c 00 00 00 00 00 67 | 66 72 65 65 00 00 00 00 |.......g|free....|
|00000860| 00 00 00 00 00 0c 00 00 | 00 00 00 68 66 72 65 65 |........|...hfree|
|00000870| 00 00 00 00 00 00 00 00 | 00 0c 00 00 ff ff ff ff |........|........|
|00000880| ff ff 9f 30 05 65 20 f0 | 00 00 ff ff 00 7a 68 e0 |...0.e .|.....zh.|
|00000890| 05 64 9f 30 ff ff cc c8 | df c8 c8 e1 e3 85 ff ff |.d.0....|........|
|000008a0| 05 64 9f 30 01 3e 3a 23 | ff ff 03 0a 23 4e e3 dc |.d.0.>:#|....#N..|
|000008b0| ce a6 ff ff e1 e8 df cc | e1 df e1 e8 ff ff df e1 |........|........|
|000008c0| e1 e8 e1 e8 e5 e1 ff ff | cc df e1 e1 cc df e8 e8 |........|........|
|000008d0| ff ff df e1 00 02 04 e1 | e8 df ff ff c8 e1 c8 e1 |........|........|
|000008e0| d5 e1 e5 e8 ff ff df 00 | 02 0a e8 e1 e1 c8 ff ff |........|........|
|000008f0| cc c8 c8 df df e5 e1 e1 | ff ff c8 c8 c8 df e1 c8 |........|........|
|00000900| df c8 ff ff e1 c8 df df | df df e5 e1 ff ff cc c8 |........|........|
|00000910| c8 c8 00 03 02 c8 ff ff | e8 df df df c8 00 05 01 |........|........|
|00000920| ff ff c8 c8 00 02 02 c8 | c8 e1 ff ff c8 c8 e1 ff |........|........|
|00000930| 03 21 23 4e ff ff a6 89 | a3 e8 e1 e1 cc e1 ff ff |.!#N....|........|
|00000940| e1 e8 e1 e8 e8 e1 e8 e8 | e8 e1 e1 e1 e8 e1 df e8 |........|........|
|00000950| e1 cc e5 e1 05 65 16 40 | ab 00 00 10 00 00 01 20 |.....e.@|....... |
|00000960| 00 1a 47 e4 e1 df cc df | e1 e1 e1 e8 df e1 e1 e8 |..G.....|........|
|00000970| 00 10 00 18 c8 e1 00 0f | ff ff c8 e1 c8 e1 d5 df |........|........|
|00000980| e1 cc ff ff c8 cc c8 e1 | c8 e1 cc df ff ff c8 e1 |........|........|
|00000990| c8 e8 df cc df e1 ff ff | e1 c8 e1 df c8 e1 e1 c8 |........|........|
|000009a0| ff ff c8 df cc df e1 d5 | e1 df ff ff c8 df cc df |........|........|
|000009b0| c8 e1 c8 df ff ff 00 02 | 01 e8 df df cc 00 ff ff |........|........|
|000009c0| c8 c8 c8 df c8 e1 c8 c8 | ff ff 89 c6 00 03 01 3e |........|.......>|
|000009d0| 31 23 ff ff 03 04 23 4d | dc bf a3 78 ff ff df e8 |1#....#M|...x....|
|000009e0| e1 e1 e1 cc df e1 ff ff | 01 e8 e8 e1 df 00 03 02 |........|........|
|000009f0| ff ff e1 e1 e8 e8 e8 e1 | 00 03 ff ff e1 c8 cc 00 |........|........|
|00000a00| 03 03 e8 e8 ff ff df e8 | e8 e1 e1 c8 e1 c8 ff ff |........|........|
|00000a10| 04 df c8 df df cc c8 cc | ff ff df df c8 cc c8 df |........|........|
|00000a20| c8 00 ff ff df df c8 df | 00 02 01 c8 ff ff c8 00 |........|........|
|00000a30| 02 01 df e1 cc e5 ff ff | 02 cc df c8 c8 df c8 e1 |........|........|
|00000a40| ff ff 02 03 e1 df df c8 | c8 cc ff ff df c8 df c8 |........|........|
|00000a50| 00 04 01 3e ff ff 49 ff | 03 03 23 4e ba a6 ff ff |...>..I.|..#N....|
|00000a60| a3 e8 e1 e1 e8 df 00 04 | 01 df e1 e8 e1 00 03 01 |........|........|
|00000a70| e1 e1 e8 e8 05 65 16 40 | ab 00 00 10 00 00 00 80 |.....e.@|........|
|00000a80| 00 1a 48 b8 e1 e8 df cc | c8 e1 cc df 00 00 00 00 |..H.....|........|
|00000a90| 00 00 00 14 00 14 00 04 | ff f8 00 0f df df c8 cc |........|........|
|00000aa0| df c8 e1 df c8 df c8 cc | 00 02 01 c8 df e5 e1 00 |........|........|
|00000ab0| 04 06 cc c8 c8 c8 c8 c8 | e1 e1 c8 df cc c8 df c8 |........|........|
|00000ac0| c8 e1 c8 c8 c8 df cc c4 | 7f 8c 00 03 01 4d 31 23 |........|.....M1#|
|00000ad0| 42 ff 03 04 23 4e a6 a6 | 4b 45 59 2a 00 00 01 74 |B...#N..|KEY*...t|
|00000ae0| 00 0c 00 0c 00 00 00 1e | 00 00 00 0b 00 00 00 17 |........|........|
|00000af0| 00 00 00 16 53 54 58 54 | 00 00 00 25 00 00 00 23 |....STXT|...%...#|
|00000b00| 42 49 54 44 00 00 00 0c | 00 00 00 23 54 48 55 4d |BITD....|...#THUM|
|00000b10| 00 00 00 05 00 00 04 00 | 43 41 53 2a 00 00 00 09 |........|CAS*....|
|00000b20| 00 00 04 00 46 58 6d 70 | 00 00 00 11 00 00 04 00 |....FXmp|........|
|00000b30| 46 6d 61 70 00 00 00 06 | 00 00 04 00 4c 63 74 78 |Fmap....|....Lctx|
|00000b40| 00 00 00 0a 00 00 04 00 | 53 6f 72 64 00 00 00 04 |........|Sord....|
|00000b50| 00 00 04 00 56 57 43 46 | 00 00 00 0b 00 00 04 00 |....VWCF|........|
|00000b60| 56 57 46 49 00 00 00 0f | 00 00 04 00 56 57 46 4d |VWFI....|....VWFM|
|00000b70| 00 00 00 0f 00 00 04 00 | 56 57 46 4d 00 00 00 20 |........|VWFM... |
|00000b80| 00 00 04 00 56 57 74 6b | 00 00 00 20 00 00 04 00 |....VWtk|... ....|
|00000b90| 56 57 74 6b 00 00 00 20 | 00 00 04 00 56 57 74 6b |VWtk... |....VWtk|
|00000ba0| 00 00 00 20 00 00 04 00 | 56 57 74 6b 00 00 00 20 |... ....|VWtk... |
|00000bb0| 00 00 04 00 56 57 74 6b | 00 00 00 20 00 00 04 00 |....VWtk|... ....|
|00000bc0| 56 57 74 6b 00 00 00 0f | 00 00 04 00 56 57 46 4d |VWtk....|....VWFM|
|00000bd0| 00 00 00 0f 00 00 04 00 | 56 57 46 4d 00 00 00 0f |........|VWFM....|
|00000be0| 00 00 04 00 56 57 46 4d | 00 00 00 0f 00 00 04 00 |....VWFM|........|
|00000bf0| 56 57 46 4d 00 00 00 0f | 00 00 04 00 56 57 46 4d |VWFM....|....VWFM|
|00000c00| 00 00 00 1b 00 00 04 00 | 56 57 74 6b 00 00 00 1b |........|VWtk....|
|00000c10| 00 00 04 00 56 57 74 6b | 00 00 00 1b 00 00 04 00 |....VWtk|........|
|00000c20| 56 57 74 6b 00 00 00 1b | 00 00 04 00 56 57 74 6b |VWtk....|....VWtk|
|00000c30| 00 00 00 1b 00 00 04 00 | 56 57 74 6b 00 00 00 1b |........|VWtk....|
|00000c40| 00 00 04 00 56 57 74 6b | 00 00 00 00 69 6d 61 70 |....VWtk|....imap|
|00000c50| 00 00 00 18 56 57 43 46 | 00 00 00 50 00 50 04 5d |....VWCF|...P.P.]|
|00000c60| 01 1a 01 80 01 56 01 b0 | 00 01 00 6d 0c 00 91 e0 |.....V..|...m....|
|00000c70| 00 01 00 00 00 0c 00 f9 | 00 10 01 01 00 04 c5 dc |........|........|
|00000c80| 04 5d 00 10 00 00 00 00 | 00 00 00 00 00 00 00 00 |.]......|........|
|00000c90| 00 2f 00 0f 00 01 2d b1 | 00 00 00 3c 93 57 ba 16 |./....-.|...<.W..|
|00000ca0| 00 0b 00 00 00 00 00 00 | 00 00 00 00 53 6f 72 64 |........|....Sord|
|00000cb0| 00 00 00 2a 08 21 21 29 | 29 00 b8 10 00 00 00 0b |...*.!!)|).......|
|00000cc0| 00 00 00 0b 00 14 00 02 | 00 01 00 02 00 64 00 65 |........|.....d.e|
|00000cd0| 00 66 00 67 00 68 00 69 | 00 6a 00 6c 00 6d 43 41 |.f.g.h.i|.j.l.mCA|
|00000ce0| 53 2a 00 00 01 b4 00 00 | 00 18 00 00 00 26 00 00 |S*......|.....&..|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 16 00 00 | 00 07 00 00 00 08 00 00 |........|........|
|00000e80| 00 1a 00 00 00 1b 00 00 | 00 1d 00 00 00 24 00 00 |........|.....$..|
|00000e90| 00 00 00 00 00 0d 00 00 | 00 23 43 41 53 74 00 00 |........|.#CASt..|
|00000ea0| 0a ce 00 04 00 00 0a c4 | 0b 00 00 03 00 00 00 14 |........|........|
|00000eb0| 05 2e 88 a8 00 00 00 00 | 00 00 00 00 00 00 00 02 |........|........|
|00000ec0| 00 07 00 00 00 00 00 00 | 0a 56 00 00 0a 64 00 00 |........|.V...d..|
|00000ed0| 0a 64 00 00 0a 64 00 00 | 0a 64 00 00 0a 78 00 00 |.d...d..|.d...x..|
|00000ee0| 0a 8e 70 72 6f 70 65 72 | 74 79 20 70 61 74 63 68 |..proper|ty patch|
|00000ef0| 4c 69 73 74 2c 20 70 61 | 74 63 68 50 61 74 68 0d |List, pa|tchPath.|
|00000f00| 0d 6f 6e 20 62 69 72 74 | 68 20 6d 65 0d 20 20 73 |.on birt|h me. s|
|00000f10| 65 74 20 70 61 74 63 68 | 50 61 74 68 20 3d 20 74 |et patch|Path = t|
|00000f20| 68 65 20 70 61 74 68 4e | 61 6d 65 20 26 20 74 68 |he pathN|ame & th|
|00000f30| 65 20 6d 6f 76 69 65 4e | 61 6d 65 0d 20 20 73 65 |e movieN|ame. se|
|00000f40| 74 20 70 61 74 63 68 4c | 69 73 74 20 3d 20 76 61 |t patchL|ist = va|
|00000f50| 6c 75 65 28 20 66 69 65 | 6c 64 20 22 70 61 74 63 |lue( fie|ld "patc|
|00000f60| 68 65 73 22 20 29 0d 20 | 20 0d 20 20 2d 2d 54 65 |hes" ). | . --Te|
|00000f70| 73 74 20 70 61 74 63 68 | 6c 69 73 74 20 66 6f 72 |st patch|list for|
|00000f80| 20 69 6e 74 65 67 72 69 | 74 79 2e 2e 0d 20 20 69 | integri|ty... i|
|00000f90| 66 20 6e 6f 74 20 6c 69 | 73 74 50 28 20 70 61 74 |f not li|stP( pat|
|00000fa0| 63 68 4c 69 73 74 20 29 | 20 74 68 65 6e 20 0d 20 |chList )| then . |
|00000fb0| 20 20 20 41 4c 45 52 54 | 20 22 53 6f 72 72 79 2c | ALERT| "Sorry,|
|00000fc0| 20 74 68 69 73 20 70 61 | 74 63 68 20 66 69 6c 65 | this pa|tch file|
|00000fd0| 20 73 65 65 6d 73 20 74 | 6f 20 62 65 20 63 6f 72 | seems t|o be cor|
|00000fe0| 72 75 70 74 22 0d 20 20 | 20 20 72 65 74 75 72 6e |rupt". | return|
|00000ff0| 20 23 62 61 64 50 61 74 | 63 68 0d 20 20 65 6c 73 | #badPat|ch. els|
|00001000| 65 0d 20 20 20 20 50 55 | 54 20 22 3c 69 3e 20 20 |e. PU|T "<i> |
|00001010| 63 50 61 74 63 68 4d 61 | 6e 61 67 65 72 3a 20 6d |cPatchMa|nager: m|
|00001020| 79 20 70 61 74 63 68 50 | 61 74 68 20 3d 20 22 26 |y patchP|ath = "&|
|00001030| 20 70 61 74 63 68 50 61 | 74 68 0d 20 20 20 20 50 | patchPa|th. P|
|00001040| 55 54 20 22 3c 69 3e 20 | 20 63 50 61 74 63 68 4d |UT "<i> | cPatchM|
|00001050| 61 6e 61 67 65 72 3a 20 | 70 61 74 63 68 4c 69 73 |anager: |patchLis|
|00001060| 74 20 3d 20 22 26 20 70 | 61 74 63 68 4c 69 73 74 |t = "& p|atchList|
|00001070| 0d 20 20 65 6e 64 20 69 | 66 0d 20 20 0d 20 20 72 |. end i|f. . r|
|00001080| 65 74 75 72 6e 20 6d 65 | 0d 65 6e 64 20 62 69 72 |eturn me|.end bir|
|00001090| 74 68 0d 0d 6f 6e 20 70 | 61 74 63 68 4d 65 20 6d |th..on p|atchMe m|
|000010a0| 65 2c 20 74 61 72 67 65 | 74 4d 6f 76 69 65 0d 20 |e, targe|tMovie. |
|000010b0| 20 2d 2d 54 68 69 73 20 | 69 73 20 61 20 6d 65 73 | --This |is a mes|
|000010c0| 73 61 67 65 20 66 72 6f | 6d 20 74 68 65 20 73 74 |sage fro|m the st|
|000010d0| 61 67 65 20 28 63 75 72 | 72 65 6e 74 6c 79 20 72 |age (cur|rently r|
|000010e0| 75 6e 6e 69 6e 67 0d 20 | 20 2d 2d 20 20 67 61 6d |unning. | -- gam|
|000010f0| 65 20 6d 6f 76 69 65 29 | 20 72 65 71 75 65 73 74 |e movie)| request|
|00001100| 69 6e 67 20 69 74 73 20 | 70 61 74 63 68 65 73 2c |ing its |patches,|
|00001110| 20 69 66 20 61 6e 79 20 | 61 72 65 20 6c 69 73 74 | if any |are list|
|00001120| 65 64 0d 20 20 2d 2d 20 | 20 69 6e 20 70 61 74 63 |ed. -- | in patc|
|00001130| 68 4c 69 73 74 0d 20 20 | 0d 20 20 2d 2d 47 65 74 |hList. |. --Get|
|00001140| 20 74 68 65 20 72 6f 6f | 74 2d 6e 61 6d 65 20 6f | the roo|t-name o|
|00001150| 66 20 74 68 65 20 74 61 | 72 67 65 74 20 6d 6f 76 |f the ta|rget mov|
|00001160| 69 65 3b 20 69 66 20 69 | 74 27 73 20 6e 61 6d 65 |ie; if i|t's name|
|00001170| 64 20 0d 20 20 2d 2d 20 | 69 6e 20 74 68 65 20 70 |d . -- |in the p|
|00001180| 61 74 63 68 4c 69 73 74 | 2c 20 72 65 70 6c 61 63 |atchList|, replac|
|00001190| 65 20 74 68 65 20 73 70 | 65 63 69 66 69 65 64 20 |e the sp|ecified |
|000011a0| 63 61 73 74 6d 65 6d 62 | 65 72 73 20 0d 20 20 2d |castmemb|ers . -|
|000011b0| 2d 20 77 69 74 68 20 73 | 6f 6d 65 20 66 72 6f 6d |- with s|ome from|
|000011c0| 20 74 68 69 73 20 6d 6f | 76 69 65 2e 2e 0d 20 20 | this mo|vie... |
|000011d0| 0d 20 20 50 55 54 20 22 | 3c 69 3e 20 6f 50 61 74 |. PUT "|<i> oPat|
|000011e0| 63 68 4d 61 6e 67 65 72 | 3a 74 61 72 67 65 74 20 |chManger|:target |
|000011f0| 6d 6f 76 69 65 20 3d 20 | 22 26 20 74 61 72 67 65 |movie = |"& targe|
|00001200| 74 4d 6f 76 69 65 0d 20 | 20 0d 20 20 2d 2d 74 72 |tMovie. | . --tr|
|00001210| 69 6d 20 74 68 65 20 6d | 6f 76 69 65 2d 6e 61 6d |im the m|ovie-nam|
|00001220| 65 20 6f 66 20 69 74 73 | 20 73 75 66 66 69 78 2c |e of its| suffix,|
|00001230| 20 69 66 20 61 6e 79 2e | 2e 0d 20 20 73 65 74 20 | if any.|.. set |
|00001240| 69 44 65 6c 69 6d 20 3d | 20 74 68 65 20 69 74 65 |iDelim =| the ite|
|00001250| 6d 44 65 6c 69 6d 69 74 | 65 72 0d 20 20 73 65 74 |mDelimit|er. set|
|00001260| 20 74 68 65 20 69 74 65 | 6d 44 65 6c 69 6d 69 74 | the ite|mDelimit|
|00001270| 65 72 20 3d 20 22 2e 22 | 0d 20 20 73 65 74 20 74 |er = "."|. set t|
|00001280| 61 72 67 65 74 4d 6f 76 | 69 65 20 3d 20 69 74 65 |argetMov|ie = ite|
|00001290| 6d 20 31 20 6f 66 20 74 | 61 72 67 65 74 4d 6f 76 |m 1 of t|argetMov|
|000012a0| 69 65 0d 20 20 73 65 74 | 20 74 68 65 20 69 74 65 |ie. set| the ite|
|000012b0| 6d 44 65 6c 69 6d 69 74 | 65 72 20 3d 20 69 44 65 |mDelimit|er = iDe|
|000012c0| 6c 69 6d 0d 20 20 50 55 | 54 20 22 3c 69 3e 20 20 |lim. PU|T "<i> |
|000012d0| 72 6f 6f 74 2d 6e 61 6d | 65 20 6f 66 20 74 61 72 |root-nam|e of tar|
|000012e0| 67 65 74 4d 6f 76 69 65 | 20 3d 20 22 26 20 74 61 |getMovie| = "& ta|
|000012f0| 72 67 65 74 4d 6f 76 69 | 65 0d 20 20 0d 20 20 2d |rgetMovi|e. . -|
|00001300| 2d 43 68 65 63 6b 20 66 | 6f 72 20 70 61 74 63 68 |-Check f|or patch|
|00001310| 65 73 20 6c 69 73 74 65 | 64 20 66 6f 72 20 74 68 |es liste|d for th|
|00001320| 69 73 20 74 61 72 67 65 | 74 2d 6d 6f 76 69 65 2e |is targe|t-movie.|
|00001330| 2e 0d 20 20 69 66 20 76 | 6f 69 64 50 28 20 67 65 |.. if v|oidP( ge|
|00001340| 74 61 50 72 6f 70 28 20 | 70 61 74 63 68 4c 69 73 |taProp( |patchLis|
|00001350| 74 2c 20 74 61 72 67 65 | 74 4d 6f 76 69 65 20 29 |t, targe|tMovie )|
|00001360| 29 20 74 68 65 6e 0d 20 | 20 20 20 50 55 54 20 22 |) then. | PUT "|
|00001370| 3c 69 3e 20 20 6e 6f 20 | 70 61 74 63 68 65 73 20 |<i> no |patches |
|00001380| 6c 69 73 74 65 64 20 66 | 6f 72 20 74 68 69 73 20 |listed f|or this |
|00001390| 6d 6f 76 69 65 22 0d 20 | 20 65 6c 73 65 0d 20 20 |movie". | else. |
|000013a0| 20 20 73 65 74 20 6c 73 | 54 61 72 67 65 74 50 61 | set ls|TargetPa|
|000013b0| 74 63 68 65 73 20 3d 20 | 67 65 74 50 72 6f 70 28 |tches = |getProp(|
|000013c0| 20 70 61 74 63 68 4c 69 | 73 74 2c 20 74 61 72 67 | patchLi|st, targ|
|000013d0| 65 74 4d 6f 76 69 65 20 | 29 0d 20 20 20 20 50 55 |etMovie |). PU|
|000013e0| 54 20 22 3c 69 3e 20 20 | 49 27 76 65 20 66 6f 75 |T "<i> |I've fou|
|000013f0| 6e 64 20 70 61 74 63 68 | 65 73 20 66 6f 72 20 74 |nd patch|es for t|
|00001400| 68 69 73 20 6d 6f 76 69 | 65 3a 22 0d 20 20 20 20 |his movi|e:". |
|00001410| 50 55 54 20 6c 73 54 61 | 72 67 65 74 50 61 74 63 |PUT lsTa|rgetPatc|
|00001420| 68 65 73 0d 20 20 20 20 | 0d 20 20 20 20 2d 2d 74 |hes. |. --t|
|00001430| 72 79 20 74 6f 20 6f 70 | 65 6e 20 74 68 65 20 70 |ry to op|en the p|
|00001440| 61 74 63 68 2d 4d 49 41 | 57 20 61 67 61 69 6e 2c |atch-MIA|W again,|
|00001450| 20 73 6f 20 74 68 61 74 | 20 70 61 74 63 68 65 73 | so that| patches|
|00001460| 20 63 61 6e 20 62 65 20 | 61 70 70 6c 69 65 64 0d | can be |applied.|
|00001470| 20 20 20 20 73 65 74 20 | 74 68 65 20 76 69 73 69 | set |the visi|
|00001480| 62 6c 65 20 6f 66 20 77 | 69 6e 64 6f 77 20 70 61 |ble of w|indow pa|
|00001490| 74 63 68 50 61 74 68 20 | 3d 20 46 41 4c 53 45 0d |tchPath |= FALSE.|
|000014a0| 20 20 20 20 50 55 54 20 | 22 3c 69 3e 20 20 63 75 | PUT |"<i> cu|
|000014b0| 72 72 65 6e 74 20 77 69 | 6e 64 6f 77 73 3a 20 22 |rrent wi|ndows: "|
|000014c0| 26 20 74 68 65 20 77 69 | 6e 64 6f 77 4c 69 73 74 |& the wi|ndowList|
|000014d0| 0d 20 20 20 20 0d 20 20 | 20 20 2d 2d 69 66 20 74 |. . | --if t|
|000014e0| 68 65 20 4d 49 41 57 20 | 64 6f 65 73 6e 27 74 20 |he MIAW |doesn't |
|000014f0| 6f 70 65 6e 2c 20 69 74 | 27 73 20 70 72 6f 62 61 |open, it|'s proba|
|00001500| 62 6c 79 20 61 20 63 6f | 72 72 75 70 74 20 66 69 |bly a co|rrupt fi|
|00001510| 6c 65 2e 2e 0d 20 20 20 | 20 2d 2d 20 4e 4f 54 45 |le... | -- NOTE|
|00001520| 20 74 68 61 74 20 77 65 | 20 63 61 6e 27 74 20 63 | that we| can't c|
|00001530| 68 65 63 6b 20 66 6f 72 | 20 67 65 74 50 6f 73 28 |heck for| getPos(|
|00001540| 20 74 68 65 20 77 69 6e | 64 6f 77 4c 69 73 74 2c | the win|dowList,|
|00001550| 20 77 69 6e 64 6f 77 20 | 22 62 6c 61 68 22 20 29 | window |"blah" )|
|00001560| 20 77 69 74 68 6f 75 74 | 0d 20 20 20 20 2d 2d 20 | without|. -- |
|00001570| 20 63 72 65 61 74 69 6e | 67 20 77 69 6e 64 6f 77 | creatin|g window|
|00001580| 20 22 62 6c 61 68 22 2e | 2e 2e 20 61 20 73 65 6c | "blah".|.. a sel|
|00001590| 66 2d 66 75 6c 66 69 6c | 6c 69 6e 67 20 70 72 6f |f-fulfil|ling pro|
|000015a0| 70 68 65 63 79 21 20 4a | 75 73 74 20 63 6f 75 6e |phecy! J|ust coun|
|000015b0| 74 20 74 68 65 20 6c 69 | 73 74 20 69 6e 73 74 65 |t the li|st inste|
|000015c0| 61 64 2e 2e 0d 20 20 20 | 20 69 66 20 63 6f 75 6e |ad... | if coun|
|000015d0| 74 28 20 74 68 65 20 77 | 69 6e 64 6f 77 4c 69 73 |t( the w|indowLis|
|000015e0| 74 20 29 20 3d 20 30 20 | 74 68 65 6e 0d 20 20 20 |t ) = 0 |then. |
|000015f0| 20 20 20 41 4c 45 52 54 | 20 22 43 61 6e 27 74 20 | ALERT| "Can't |
|00001600| 72 65 61 64 20 70 61 74 | 63 68 20 66 69 6c 65 2c |read pat|ch file,|
|00001610| 20 70 6f 73 73 69 62 6c | 79 20 63 6f 72 72 75 70 | possibl|y corrup|
|00001620| 74 65 64 22 0d 20 20 20 | 20 20 20 45 58 49 54 0d |ted". | EXIT.|
|00001630| 20 20 20 20 65 6e 64 20 | 69 66 0d 20 20 20 20 0d | end |if. .|
|00001640| 20 20 20 20 50 55 54 20 | 22 3c 69 3e 20 20 20 6c | PUT |"<i> l|
|00001650| 73 54 61 72 67 65 74 50 | 61 74 63 68 65 73 20 3d |sTargetP|atches =|
|00001660| 20 22 26 20 6c 73 54 61 | 72 67 65 74 50 61 74 63 | "& lsTa|rgetPatc|
|00001670| 68 65 73 0d 20 20 20 20 | 2d 2d 4e 6f 77 20 61 70 |hes. |--Now ap|
|00001680| 70 6c 79 20 70 61 74 63 | 68 65 73 20 74 6f 20 74 |ply patc|hes to t|
|00001690| 68 65 20 74 61 72 67 65 | 74 20 6d 6f 76 69 65 2e |he targe|t movie.|
|000016a0| 2e 0d 20 20 20 20 2d 2d | 63 6f 70 79 20 65 61 63 |.. --|copy eac|
|000016b0| 68 20 70 61 74 63 68 2d | 63 61 73 74 6d 65 6d 62 |h patch-|castmemb|
|000016c0| 65 72 20 74 6f 20 74 68 | 65 20 63 6c 69 70 62 6f |er to th|e clipbo|
|000016d0| 61 72 64 2c 20 61 73 6b | 20 74 68 65 20 73 74 61 |ard, ask| the sta|
|000016e0| 67 65 0d 20 20 20 20 2d | 2d 20 74 6f 20 63 6f 70 |ge. -|- to cop|
|000016f0| 79 20 74 68 65 6d 20 69 | 6e 74 6f 20 74 68 65 69 |y them i|nto thei|
|00001700| 72 20 64 65 73 69 72 65 | 64 20 64 65 73 74 69 6e |r desire|d destin|
|00001710| 61 74 69 6f 6e 73 2e 2e | 0d 20 20 20 20 0d 20 20 |ations..|. . |
|00001720| 20 20 72 65 70 65 61 74 | 20 77 69 74 68 20 74 68 | repeat| with th|
|00001730| 65 50 61 74 63 68 20 69 | 6e 20 6c 73 54 61 72 67 |ePatch i|n lsTarg|
|00001740| 65 74 50 61 74 63 68 65 | 73 0d 20 20 20 20 20 20 |etPatche|s. |
|00001750| 74 65 6c 6c 20 77 69 6e | 64 6f 77 20 70 61 74 63 |tell win|dow patc|
|00001760| 68 50 61 74 68 20 74 6f | 20 63 6f 70 79 54 6f 43 |hPath to| copyToC|
|00001770| 6c 69 70 42 6f 61 72 64 | 20 63 61 73 74 20 67 65 |lipBoard| cast ge|
|00001780| 74 41 74 28 20 74 68 65 | 50 61 74 63 68 2c 20 31 |tAt( the|Patch, 1|
|00001790| 20 29 0d 20 20 20 20 20 | 20 74 65 6c 6c 20 74 68 | ). | tell th|
|000017a0| 65 20 73 74 61 67 65 20 | 74 6f 20 70 61 73 74 65 |e stage |to paste|
|000017b0| 43 6c 69 70 42 6f 61 72 | 64 49 6e 74 6f 20 63 61 |ClipBoar|dInto ca|
|000017c0| 73 74 20 67 65 74 41 74 | 28 20 74 68 65 50 61 74 |st getAt|( thePat|
|000017d0| 63 68 2c 20 32 20 29 0d | 20 20 20 20 65 6e 64 20 |ch, 2 ).| end |
|000017e0| 72 65 70 65 61 74 0d 20 | 20 20 20 0d 20 20 20 20 |repeat. | . |
|000017f0| 50 55 54 20 22 3c 69 3e | 20 70 61 74 63 68 4d 67 |PUT "<i>| patchMg|
|00001800| 72 3a 20 20 54 68 61 74 | 20 6f 75 67 68 74 61 20 |r: That| oughta |
|00001810| 64 6f 20 69 74 2e 2e 22 | 0d 20 20 20 20 0d 20 20 |do it.."|. . |
|00001820| 20 20 2d 2d 63 6c 6f 73 | 65 20 74 68 65 20 4d 49 | --clos|e the MI|
|00001830| 41 57 20 66 6f 72 20 6e | 6f 77 2e 2e 20 28 6f 72 |AW for n|ow.. (or|
|00001840| 20 6b 65 65 70 20 69 74 | 20 6f 70 65 6e 20 74 68 | keep it| open th|
|00001850| 72 6f 75 67 68 6f 75 74 | 3f 29 0d 20 20 20 20 2d |roughout|?). -|
|00001860| 2d 66 6f 72 67 65 74 20 | 77 69 6e 64 6f 77 20 70 |-forget |window p|
|00001870| 61 74 63 68 50 61 74 68 | 0d 20 20 20 20 50 55 54 |atchPath|. PUT|
|00001880| 20 22 3c 69 3e 20 20 77 | 69 6e 64 6f 77 6c 69 73 | "<i> w|indowlis|
|00001890| 74 20 3d 20 22 26 20 74 | 68 65 20 77 69 6e 64 6f |t = "& t|he windo|
|000018a0| 77 4c 69 73 74 0d 20 20 | 20 20 0d 20 20 65 6e 64 |wList. | . end|
|000018b0| 20 69 66 0d 20 20 0d 65 | 6e 64 20 70 61 74 63 68 | if. .e|nd patch|
|000018c0| 4d 65 0d 0d 0d 6f 6e 20 | 63 6c 6f 73 65 50 61 74 |Me...on |closePat|
|000018d0| 63 68 46 69 6c 65 20 6d | 65 0d 20 20 66 6f 72 67 |chFile m|e. forg|
|000018e0| 65 74 20 77 69 6e 64 6f | 77 20 70 61 74 63 68 50 |et windo|w patchP|
|000018f0| 61 74 68 0d 20 20 50 55 | 54 20 22 3c 69 3e 20 20 |ath. PU|T "<i> |
|00001900| 66 69 6e 61 6c 20 77 69 | 6e 64 6f 77 6c 69 73 74 |final wi|ndowlist|
|00001910| 20 3d 20 22 26 20 74 68 | 65 20 77 69 6e 64 6f 77 | = "& th|e window|
|00001920| 4c 69 73 74 0d 65 6e 64 | 20 63 6c 6f 73 65 50 61 |List.end| closePa|
|00001930| 74 63 68 46 69 6c 65 0d | 0d 63 50 61 74 63 68 4d |tchFile.|.cPatchM|
|00001940| 61 6e 61 67 65 72 00 6c | 00 59 01 02 01 b7 00 00 |anager.l|.Y......|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 01 00 00 00 00 |........|........|
|00001960| 00 0c 00 0a 00 03 00 00 | 00 09 ff ff ff ff ff ff |........|........|
|00001970| 43 41 53 74 00 00 00 e5 | 00 04 00 00 00 db 0b 00 |CASt....|........|
|00001980| 00 03 00 00 00 14 05 2e | 88 4c 00 00 00 00 00 00 |........|.L......|
|00001990| 00 00 00 00 00 04 00 07 | 00 00 00 00 00 00 00 53 |........|.......S|
|000019a0| 00 00 00 53 00 00 00 53 | 00 00 00 53 00 00 00 53 |...S...S|...S...S|
|000019b0| 00 00 00 67 00 00 00 a5 | 6f 6e 20 69 64 6c 65 0d |...g....|on idle.|
|000019c0| 20 20 2d 2d 6e 6f 74 68 | 69 6e 67 2c 20 6a 75 73 | --noth|ing, jus|
|000019d0| 74 20 73 75 70 70 72 65 | 73 73 20 69 64 6c 65 28 |t suppre|ss idle(|
|000019e0| 29 20 68 61 6e 64 6c 65 | 72 73 20 69 6e 20 6c 61 |) handle|rs in la|
|000019f0| 74 65 72 20 70 61 74 63 | 68 2d 73 63 72 69 70 74 |ter patc|h-script|
|00001a00| 73 0d 65 6e 64 20 69 64 | 6c 65 20 00 24 00 00 02 |s.end id|le .$...|
|00001a10| e7 02 88 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a20| 03 00 00 00 00 00 0b 00 | 09 00 04 00 00 00 09 ff |........|........|
|00001a30| ff ff ff ff ff 00 00 00 | 03 00 0b 00 09 00 04 01 |........|........|
|00001a40| 00 00 09 ff ff ff ff ff | ff 00 00 00 07 00 0b 00 |........|........|
|00001a50| 09 00 04 00 00 00 09 ff | ff ff ff ff ff 43 43 41 |........|.....CCA|
|00001a60| 53 74 00 00 00 7a 00 1e | 00 00 00 56 03 00 00 00 |St...z..|...V....|
|00001a70| 00 00 00 00 ff ff ff ff | ff ff 00 00 00 00 00 00 |........|........|
|00001a80| 00 40 01 44 00 40 00 00 | 00 40 00 00 00 14 00 00 |.@.D.@..|.@......|
|00001a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 08 |........|........|
|00001aa0| 00 00 00 00 00 00 00 00 | 00 00 00 08 00 00 00 08 |........|........|
|00001ab0| 00 00 00 08 00 00 00 08 | 00 00 00 08 00 00 00 08 |........|........|
|00001ac0| 00 00 00 1c 07 70 61 74 | 63 68 65 73 00 52 00 2d |.....pat|ches.R.-|
|00001ad0| 00 e8 01 8b 00 00 00 00 | 00 00 00 00 00 8c 06 b8 |........|........|
|00001ae0| 43 41 53 74 00 00 4b 88 | 00 04 00 00 4b 7e 0b 00 |CASt..K.|....K~..|
|00001af0| 00 03 00 00 00 14 05 2e | 88 b0 00 00 00 00 00 00 |........|........|
|00001b00| 00 00 00 00 00 0a 00 07 | 00 00 00 00 00 00 47 33 |........|......G3|
|00001b10| 00 00 47 4a 00 00 47 4a | 00 00 47 4a 00 00 47 4a |..GJ..GJ|..GJ..GJ|
|00001b20| 00 00 47 5e 00 00 4b 48 | 2d 2d 6d 65 6d 62 65 72 |..G^..KH|--member|
|00001b30| 20 32 20 6f 66 20 41 4d | 42 45 52 48 55 42 20 3c | 2 of AM|BERHUB <|
|00001b40| 73 65 74 55 70 47 61 6d | 65 2c 20 70 75 74 41 77 |setUpGam|e, putAw|
|00001b50| 61 79 47 61 6d 65 3e 20 | 0d 0d 6f 6e 20 73 65 74 |ayGame> |..on set|
|00001b60| 55 70 47 61 6d 65 0d 20 | 20 2d 2d 48 65 72 65 2c |UpGame. | --Here,|
|00001b70| 20 77 65 27 6c 6c 20 73 | 65 65 20 74 68 65 20 41 | we'll s|ee the A|
|00001b80| 6d 62 65 72 20 73 74 61 | 72 74 75 70 20 73 63 72 |mber sta|rtup scr|
|00001b90| 65 65 6e 28 73 29 2c 20 | 63 72 65 64 69 74 73 2c |een(s), |credits,|
|00001ba0| 20 74 68 65 20 41 6d 62 | 65 72 20 6d 65 6e 75 73 | the Amb|er menus|
|00001bb0| 2e 2e 20 65 76 65 72 2d | 70 72 65 73 65 6e 74 20 |.. ever-|present |
|00001bc0| 75 6e 74 69 6c 20 70 6c | 61 79 65 72 20 63 68 6f |until pl|ayer cho|
|00001bd0| 6f 73 65 73 20 27 4e 65 | 77 20 67 61 6d 65 27 20 |oses 'Ne|w game' |
|00001be0| 6f 72 20 27 4c 6f 61 64 | 20 67 61 6d 65 2e 2e 2e |or 'Load| game...|
|00001bf0| 27 20 20 57 65 20 63 6f | 75 6c 64 20 61 6c 73 6f |' We co|uld also|
|00001c00| 20 70 65 72 68 61 70 73 | 20 68 61 76 65 20 6d 6f | perhaps| have mo|
|00001c10| 72 65 20 65 6c 61 62 6f | 72 61 74 65 20 73 65 74 |re elabo|rate set|
|00001c20| 75 70 2f 63 6f 6e 66 69 | 67 2f 62 65 6e 63 68 6d |up/confi|g/benchm|
|00001c30| 61 72 6b 20 72 6f 75 74 | 69 6e 65 73 20 68 65 72 |ark rout|ines her|
|00001c40| 65 3b 20 69 66 20 70 6c | 61 79 65 72 20 70 69 63 |e; if pl|ayer pic|
|00001c50| 6b 73 20 74 68 65 20 6d | 65 6e 75 20 6f 70 74 69 |ks the m|enu opti|
|00001c60| 6f 6e 2c 20 69 6e 76 69 | 73 69 62 6c 79 20 73 61 |on, invi|sibly sa|
|00001c70| 76 65 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 73 |ve the c|urrent s|
|00001c80| 74 61 74 65 44 61 74 61 | 2c 20 62 6f 70 20 6f 76 |tateData|, bop ov|
|00001c90| 65 72 20 74 6f 20 74 68 | 69 73 20 6d 6f 76 69 65 |er to th|is movie|
|00001ca0| 2c 20 74 68 65 6e 20 72 | 65 73 75 6d 65 20 67 61 |, then r|esume ga|
|00001cb0| 6d 65 20 77 69 74 68 20 | 72 65 76 69 73 65 64 20 |me with |revised |
|00001cc0| 6d 61 63 68 69 6e 65 20 | 70 72 6f 66 69 6c 65 2e |machine |profile.|
|00001cd0| 2e 2e 20 28 48 6d 6d 2e | 2e 2e 63 6f 75 6c 64 20 |.. (Hmm.|..could |
|00001ce0| 73 74 6f 72 65 20 6d 65 | 6e 75 73 20 61 73 20 73 |store me|nus as s|
|00001cf0| 74 72 69 6e 67 2d 76 61 | 72 20 69 6e 73 74 65 61 |tring-va|r instea|
|00001d00| 64 20 6f 66 20 66 69 65 | 6c 64 3f 20 50 75 70 70 |d of fie|ld? Pupp|
|00001d10| 65 74 65 65 72 20 63 6f | 75 6c 64 20 63 61 72 72 |eteer co|uld carr|
|00001d20| 79 20 74 68 65 6d 2e 2e | 20 6d 61 6b 65 20 73 75 |y them..| make su|
|00001d30| 72 65 20 67 6f 6f 64 69 | 65 73 20 6c 69 6b 65 20 |re goodi|es like |
|00001d40| 27 63 68 65 63 6b 65 64 | 49 74 65 6d 20 6f 66 20 |'checked|Item of |
|00001d50| 6d 65 6e 75 27 20 61 72 | 65 20 61 76 61 69 6c 61 |menu' ar|e availa|
|00001d60| 62 6c 65 20 74 68 69 73 | 20 77 61 79 3b 20 70 72 |ble this| way; pr|
|00001d70| 6f 62 61 62 6c 79 20 6a | 75 73 74 20 72 65 2d 64 |obably j|ust re-d|
|00001d80| 69 72 65 63 74 20 74 68 | 65 6d 20 74 6f 20 61 20 |irect th|em to a |
|00001d90| 73 74 72 69 6e 67 2d 70 | 72 6f 70 65 72 74 79 20 |string-p|roperty |
|00001da0| 69 6e 73 74 65 61 64 20 | 61 20 66 69 65 6c 64 2e |instead |a field.|
|00001db0| 2e 29 20 0d 20 20 0d 20 | 20 2d 2d 54 68 69 73 20 |.) . . | --This |
|00001dc0| 73 63 72 69 70 74 20 73 | 68 6f 75 6c 64 20 64 6f |script s|hould do|
|00001dd0| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 3a 20 | the fol|lowing: |
|00001de0| 69 6e 69 74 69 61 6c 69 | 7a 65 20 61 6c 6c 20 70 |initiali|ze all p|
|00001df0| 61 74 68 73 2c 20 72 65 | 73 6f 75 72 63 65 20 66 |aths, re|source f|
|00001e00| 69 6c 65 73 2c 20 61 6e | 64 20 58 4f 62 6a 65 63 |iles, an|d XObjec|
|00001e10| 74 73 3b 0d 20 20 2d 2d | 20 64 6f 20 73 79 73 74 |ts;. --| do syst|
|00001e20| 65 6d 20 64 69 61 67 6e | 6f 73 74 69 63 73 20 61 |em diagn|ostics a|
|00001e30| 6e 64 20 63 61 6c 69 62 | 72 61 74 65 20 64 69 73 |nd calib|rate dis|
|00001e40| 70 6c 61 79 3b 20 69 6e | 69 74 20 67 6c 6f 62 61 |play; in|it globa|
|00001e50| 6c 73 20 28 69 6e 63 6c | 2e 20 63 75 72 73 6f 72 |ls (incl|. cursor|
|00001e60| 2d 72 65 73 6f 75 72 63 | 65 73 20 61 6e 64 20 0d |-resourc|es and .|
|00001e70| 20 20 2d 2d 20 73 75 63 | 68 20 74 68 69 6e 67 73 | -- suc|h things|
|00001e80| 29 3b 20 6c 61 75 6e 63 | 68 20 70 72 69 6e 63 69 |); launc|h princi|
|00001e90| 70 61 6c 20 6f 62 6a 65 | 63 74 73 20 28 44 6f 6d |pal obje|cts (Dom|
|00001ea0| 61 69 6e 2c 20 50 75 70 | 70 65 74 65 65 72 2d 2d |ain, Pup|peteer--|
|00001eb0| 69 6e 69 74 73 20 70 75 | 70 70 65 74 73 20 6f 6e |inits pu|ppets on|
|00001ec0| 20 64 6f 6d 61 69 6e 45 | 6e 74 72 79 3f 29 3b 20 | domainE|ntry?); |
|00001ed0| 0d 20 20 2d 2d 20 73 68 | 6f 77 20 61 6e 79 20 69 |. -- sh|ow any i|
|00001ee0| 6e 74 72 6f 20 73 65 71 | 75 65 6e 63 65 20 28 6c |ntro seq|uence (l|
|00001ef0| 6f 67 6f 2c 20 63 72 65 | 64 69 74 73 2c 20 65 74 |ogo, cre|dits, et|
|00001f00| 63 2e 29 20 64 65 73 69 | 72 65 64 20 62 65 66 6f |c.) desi|red befo|
|00001f10| 72 65 20 52 6f 78 79 27 | 73 20 64 6f 6d 61 69 6e |re Roxy'|s domain|
|00001f20| 3b 20 70 72 6f 76 69 64 | 65 20 63 68 6f 69 63 65 |; provid|e choice|
|00001f30| 0d 20 20 2d 2d 20 6f 66 | 20 6c 6f 61 64 69 6e 67 |. -- of| loading|
|00001f40| 20 73 61 76 65 64 20 67 | 61 6d 65 2c 20 73 74 61 | saved g|ame, sta|
|00001f50| 72 74 69 6e 67 20 6e 65 | 77 20 67 61 6d 65 3f 20 |rting ne|w game? |
|00001f60| 69 6e 74 72 6f 64 75 63 | 65 20 74 68 65 20 69 6e |introduc|e the in|
|00001f70| 74 65 72 66 61 63 65 2c | 20 65 69 74 68 65 72 20 |terface,| either |
|00001f80| 65 6e 20 70 61 73 73 61 | 6e 74 65 20 6f 72 0d 20 |en passa|nte or. |
|00001f90| 20 2d 2d 20 61 73 20 61 | 6e 20 65 78 70 6c 69 63 | -- as a|n explic|
|00001fa0| 69 74 6c 79 20 63 68 6f | 73 65 6e 20 27 68 65 6c |itly cho|sen 'hel|
|00001fb0| 70 27 20 66 75 6e 63 74 | 69 6f 6e 2e 0d 20 20 0d |p' funct|ion.. .|
|00001fc0| 20 20 67 6c 6f 62 61 6c | 20 6f 53 74 6f 72 79 74 | global| oStoryt|
|00001fd0| 65 6c 6c 65 72 2c 20 6f | 50 75 70 70 65 74 65 65 |eller, o|Puppetee|
|00001fe0| 72 2c 20 64 6f 6d 61 69 | 6e 49 73 52 65 61 64 79 |r, domai|nIsReady|
|00001ff0| 0d 20 20 67 6c 6f 62 61 | 6c 20 46 6f 72 77 61 72 |. globa|l Forwar|
|00002000| 64 54 6f 52 69 67 68 74 | 2c 46 6f 72 77 61 72 64 |dToRight|,Forward|
|00002010| 54 6f 4c 65 66 74 2c 46 | 6f 72 77 61 72 64 54 6f |ToLeft,F|orwardTo|
|00002020| 42 72 6f 77 73 65 2c 46 | 6f 72 77 61 72 64 54 6f |Browse,F|orwardTo|
|00002030| 45 78 61 6d 69 6e 65 2c | 42 72 6f 77 73 65 54 6f |Examine,|BrowseTo|
|00002040| 52 69 67 68 74 2c 20 c2 | 0d 20 20 20 20 42 72 6f |Right, .|. Bro|
|00002050| 77 73 65 54 6f 4c 65 66 | 74 2c 20 42 72 6f 77 73 |wseToLef|t, Brows|
|00002060| 65 54 6f 45 78 61 6d 69 | 6e 65 2c 20 52 69 67 68 |eToExami|ne, Righ|
|00002070| 74 54 6f 4c 65 66 74 2c | 20 52 69 67 68 74 54 6f |tToLeft,| RightTo|
|00002080| 45 78 61 6d 69 6e 65 2c | 20 45 78 61 6d 69 6e 65 |Examine,| Examine|
|00002090| 54 6f 4c 65 66 74 0d 20 | 20 67 6c 6f 62 61 6c 20 |ToLeft. | global |
|000020a0| 52 69 67 68 74 54 6f 46 | 6f 72 77 61 72 64 2c 20 |RightToF|orward, |
|000020b0| 4c 65 66 74 54 6f 46 6f | 72 77 61 72 64 2c 20 42 |LeftToFo|rward, B|
|000020c0| 72 6f 77 73 65 54 6f 46 | 6f 72 77 61 72 64 2c 20 |rowseToF|orward, |
|000020d0| 45 78 61 6d 69 6e 65 54 | 6f 46 6f 72 77 61 72 64 |ExamineT|oForward|
|000020e0| 2c 20 52 69 67 68 74 54 | 6f 42 72 6f 77 73 65 2c |, RightT|oBrowse,|
|000020f0| 20 c2 0d 20 20 20 20 4c | 65 66 74 54 6f 42 72 6f | .. L|eftToBro|
|00002100| 77 73 65 2c 20 45 78 61 | 6d 69 6e 65 54 6f 42 72 |wse, Exa|mineToBr|
|00002110| 6f 77 73 65 2c 20 4c 65 | 66 74 54 6f 52 69 67 68 |owse, Le|ftToRigh|
|00002120| 74 2c 20 45 78 61 6d 69 | 6e 65 54 6f 52 69 67 68 |t, Exami|neToRigh|
|00002130| 74 2c 20 4c 65 66 74 54 | 6f 45 78 61 6d 69 6e 65 |t, LeftT|oExamine|
|00002140| 0d 20 20 67 6c 6f 62 61 | 6c 20 59 75 67 6f 43 75 |. globa|l YugoCu|
|00002150| 72 73 6f 72 73 0d 20 20 | 67 6c 6f 62 61 6c 20 63 |rsors. |global c|
|00002160| 61 73 74 43 75 72 73 6f | 72 4c 69 73 74 2c 20 63 |astCurso|rList, c|
|00002170| 75 72 73 6f 72 4f 66 66 | 73 65 74 2c 20 6d 61 78 |ursorOff|set, max|
|00002180| 43 75 72 73 6f 72 0d 20 | 20 67 6c 6f 62 61 6c 20 |Cursor. | global |
|00002190| 6c 61 73 74 43 75 72 73 | 6f 72 2c 20 74 68 69 73 |lastCurs|or, this|
|000021a0| 43 75 72 73 6f 72 0d 20 | 20 67 6c 6f 62 61 6c 20 |Cursor. | global |
|000021b0| 62 75 69 6c 64 69 6e 67 | 2c 20 6c 61 73 74 53 63 |building|, lastSc|
|000021c0| 6f 72 65 53 70 72 69 74 | 65 2c 20 67 43 50 55 0d |oreSprit|e, gCPU.|
|000021d0| 20 20 67 6c 6f 62 61 6c | 20 6f 42 61 63 6b 64 72 | global| oBackdr|
|000021e0| 6f 70 20 20 20 2d 2d 74 | 68 69 73 20 69 73 20 74 |op --t|his is t|
|000021f0| 68 65 20 72 65 61 72 2d | 77 69 6e 64 6f 77 20 58 |he rear-|window X|
|00002200| 6f 62 6a 65 63 74 2e 2e | 20 28 4d 61 63 20 6f 6e |object..| (Mac on|
|00002210| 6c 79 21 29 0d 20 20 67 | 6c 6f 62 61 6c 20 6f 55 |ly!). g|lobal oU|
|00002220| 74 69 6c 69 74 79 20 20 | 20 20 2d 2d 74 68 69 73 |tility | --this|
|00002230| 20 69 73 20 74 68 65 20 | 6d 6f 76 69 65 2d 75 74 | is the |movie-ut|
|00002240| 69 6c 69 74 69 65 73 20 | 58 6f 62 6a 65 63 74 2e |ilities |Xobject.|
|00002250| 2e 0d 20 20 67 6c 6f 62 | 61 6c 20 6f 46 69 78 50 |.. glob|al oFixP|
|00002260| 61 6c 20 20 20 20 20 2d | 2d 74 68 69 73 20 69 73 |al -|-this is|
|00002270| 20 74 68 65 20 46 69 78 | 50 61 6c 65 74 74 65 20 | the Fix|Palette |
|00002280| 58 6f 62 6a 65 63 74 2e | 2e 2e 20 28 4d 61 63 20 |Xobject.|.. (Mac |
|00002290| 6f 6e 6c 79 21 29 0d 20 | 20 67 6c 6f 62 61 6c 20 |only!). | global |
|000022a0| 6f 4d 65 6d 6f 72 79 20 | 20 20 20 20 2d 2d 74 68 |oMemory | --th|
|000022b0| 69 73 20 69 73 20 74 68 | 65 20 4d 65 6d 6f 72 79 |is is th|e Memory|
|000022c0| 20 58 6f 62 6a 65 63 74 | 0d 20 20 67 6c 6f 62 61 | Xobject|. globa|
|000022d0| 6c 20 63 6f 6c 6f 72 63 | 72 73 72 20 20 20 2d 2d |l colorc|rsr --|
|000022e0| 74 68 69 73 20 69 73 20 | 74 68 65 20 63 6f 6c 6f |this is |the colo|
|000022f0| 72 2d 63 75 72 73 6f 72 | 20 58 4f 62 6a 65 63 74 |r-cursor| XObject|
|00002300| 20 28 4d 61 63 20 6f 6e | 6c 79 21 29 0d 20 20 67 | (Mac on|ly!). g|
|00002310| 6c 6f 62 61 6c 20 6f 47 | 61 6d 6d 61 2c 20 67 4d |lobal oG|amma, gM|
|00002320| 61 69 6e 53 63 72 65 65 | 6e 2c 20 67 47 61 6d 6d |ainScree|n, gGamm|
|00002330| 61 53 69 7a 65 2c 20 67 | 43 75 72 72 65 6e 74 47 |aSize, g|CurrentG|
|00002340| 61 6d 6d 61 2c 20 67 47 | 61 6d 6d 61 4c 65 76 65 |amma, gG|ammaLeve|
|00002350| 6c 0d 20 20 2d 2d 40 40 | 74 68 69 73 20 69 73 20 |l. --@@|this is |
|00002360| 74 68 65 20 67 61 6d 6d | 61 2d 63 6f 6e 74 72 6f |the gamm|a-contro|
|00002370| 6c 20 58 4f 62 6a 65 63 | 74 20 28 4d 61 63 20 6f |l XObjec|t (Mac o|
|00002380| 6e 6c 79 21 29 0d 20 20 | 67 6c 6f 62 61 6c 20 67 |nly!). |global g|
|00002390| 41 6d 62 65 72 50 61 74 | 68 2c 20 67 50 72 6f 6a |AmberPat|h, gProj|
|000023a0| 65 63 74 6f 72 50 61 74 | 68 2c 20 67 53 6f 75 6e |ectorPat|h, gSoun|
|000023b0| 64 50 61 74 68 2c 20 67 | 53 6f 75 6e 64 50 61 74 |dPath, g|SoundPat|
|000023c0| 68 32 2c 20 67 48 44 73 | 6f 75 6e 64 73 2c 20 67 |h2, gHDs|ounds, g|
|000023d0| 4f 6c 64 53 6e 64 4c 65 | 76 65 6c 0d 20 20 67 6c |OldSndLe|vel. gl|
|000023e0| 6f 62 61 6c 20 67 43 75 | 72 72 65 6e 74 50 61 6c |obal gCu|rrentPal|
|000023f0| 65 74 74 65 0d 20 20 67 | 6c 6f 62 61 6c 20 67 44 |ette. g|lobal gD|
|00002400| 65 66 65 72 72 65 64 54 | 72 61 6e 73 69 74 20 20 |eferredT|ransit |
|00002410| 2d 2d 74 6f 20 61 76 6f | 69 64 20 69 64 6c 65 28 |--to avo|id idle(|
|00002420| 29 20 23 67 65 74 50 72 | 6f 70 20 65 72 72 6f 72 |) #getPr|op error|
|00002430| 20 62 65 74 77 2e 20 64 | 6f 6d 61 69 6e 73 0d 20 | betw. d|omains. |
|00002440| 20 67 6c 6f 62 61 6c 20 | 67 43 6c 69 63 6b 4c 6f | global |gClickLo|
|00002450| 63 20 20 20 2d 2d 74 68 | 69 73 20 69 73 20 66 6f |c --th|is is fo|
|00002460| 72 20 70 61 73 73 69 6e | 67 20 6d 6f 75 73 65 63 |r passin|g mousec|
|00002470| 6c 69 63 6b 73 20 74 68 | 72 6f 75 67 68 20 74 68 |licks th|rough th|
|00002480| 65 20 67 61 6d 65 20 65 | 6e 67 69 6e 65 0d 20 20 |e game e|ngine. |
|00002490| 2d 2d 20 20 66 6f 72 20 | 65 78 61 6d 70 6c 65 2c |-- for |example,|
|000024a0| 20 74 6f 20 61 63 63 65 | 70 74 20 61 6e 20 69 6e | to acce|pt an in|
|000024b0| 76 65 6e 74 6f 72 79 20 | 63 6f 6d 6d 61 6e 64 20 |ventory |command |
|000024c0| 77 68 69 6c 65 20 69 6e | 20 53 63 61 6e 20 63 6c |while in| Scan cl|
|000024d0| 6f 73 65 2d 75 70 2c 20 | 62 61 63 6b 0d 20 20 2d |ose-up, |back. -|
|000024e0| 2d 20 20 75 70 20 74 6f | 20 61 20 6e 65 61 72 62 |- up to| a nearb|
|000024f0| 79 20 6c 6f 63 61 74 69 | 6f 6e 2c 20 74 68 65 6e |y locati|on, then|
|00002500| 20 70 61 73 73 20 74 68 | 65 20 6d 6f 75 73 65 63 | pass th|e mousec|
|00002510| 6c 69 63 6b 20 74 6f 20 | 69 74 73 20 69 6e 74 65 |lick to |its inte|
|00002520| 6e 64 65 64 20 64 65 73 | 74 69 6e 61 74 69 6f 6e |nded des|tination|
|00002530| 0d 20 20 0d 20 20 73 65 | 74 20 67 44 65 66 65 72 |. . se|t gDefer|
|00002540| 72 65 64 54 72 61 6e 73 | 69 74 20 3d 20 23 6e 6f |redTrans|it = #no|
|00002550| 6e 65 0d 20 20 69 66 20 | 67 43 50 55 20 3d 20 23 |ne. if |gCPU = #|
|00002560| 50 43 20 74 68 65 6e 0d | 20 20 20 20 73 65 74 20 |PC then.| set |
|00002570| 67 53 6f 75 6e 64 50 61 | 74 68 20 3d 20 67 50 72 |gSoundPa|th = gPr|
|00002580| 6f 6a 65 63 74 6f 72 50 | 61 74 68 20 26 20 22 47 |ojectorP|ath & "G|
|00002590| 41 4d 45 44 41 54 41 5c | 22 0d 20 20 20 20 73 65 |AMEDATA\|". se|
|000025a0| 74 20 67 53 6f 75 6e 64 | 50 61 74 68 32 20 3d 20 |t gSound|Path2 = |
|000025b0| 67 41 6d 62 65 72 50 61 | 74 68 20 26 22 43 44 5f |gAmberPa|th &"CD_|
|000025c0| 44 41 54 41 5c 22 20 20 | 20 2d 2d 77 61 73 20 67 |DATA\" | --was g|
|000025d0| 41 6d 62 65 72 50 61 74 | 68 20 26 22 41 4d 42 45 |AmberPat|h &"AMBE|
|000025e0| 52 5c 47 41 4d 45 44 41 | 54 41 5c 22 20 0d 20 20 |R\GAMEDA|TA\" . |
|000025f0| 20 20 2d 2d 4e 4f 54 45 | 3a 20 54 68 69 73 20 61 | --NOTE|: This a|
|00002600| 73 73 75 6d 65 73 20 74 | 68 61 74 20 74 68 65 20 |ssumes t|hat the |
|00002610| 50 43 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 22 41 |PC versi|on of "A|
|00002620| 6d 62 65 72 20 66 6f 6c | 64 65 72 22 20 69 73 20 |mber fol|der" is |
|00002630| 63 61 6c 6c 65 64 20 22 | 41 4d 42 45 52 22 0d 20 |called "|AMBER". |
|00002640| 20 65 6c 73 65 0d 20 20 | 20 20 73 65 74 20 67 53 | else. | set gS|
|00002650| 6f 75 6e 64 50 61 74 68 | 20 3d 20 67 50 72 6f 6a |oundPath| = gProj|
|00002660| 65 63 74 6f 72 50 61 74 | 68 20 26 20 22 73 6f 75 |ectorPat|h & "sou|
|00002670| 6e 64 73 20 65 74 63 2e | 3a 22 0d 20 20 20 20 73 |nds etc.|:". s|
|00002680| 65 74 20 67 53 6f 75 6e | 64 50 61 74 68 32 20 3d |et gSoun|dPath2 =|
|00002690| 20 67 41 6d 62 65 72 50 | 61 74 68 20 26 20 22 43 | gAmberP|ath & "C|
|000026a0| 44 5f 53 4f 55 4e 44 53 | 3a 22 0d 20 20 65 6e 64 |D_SOUNDS|:". end|
|000026b0| 20 69 66 0d 20 20 0d 20 | 20 73 65 74 20 67 48 44 | if. . | set gHD|
|000026c0| 73 6f 75 6e 64 73 20 3d | 20 6c 69 73 74 48 44 73 |sounds =| listHDs|
|000026d0| 6f 75 6e 64 73 28 20 67 | 53 6f 75 6e 64 50 61 74 |ounds( g|SoundPat|
|000026e0| 68 20 29 0d 20 20 2d 2d | 50 55 54 20 22 67 48 44 |h ). --|PUT "gHD|
|000026f0| 73 6f 75 6e 64 73 3a 20 | 22 26 20 63 6f 75 6e 74 |sounds: |"& count|
|00002700| 28 20 67 48 44 73 6f 75 | 6e 64 73 20 29 20 26 22 |( gHDsou|nds ) &"|
|00002710| 20 66 69 6c 65 73 20 66 | 6f 75 6e 64 20 61 6e 64 | files f|ound and|
|00002720| 20 6c 69 73 74 65 64 22 | 0d 20 20 2d 2d 50 55 54 | listed"|. --PUT|
|00002730| 20 22 67 50 72 6f 6a 65 | 63 74 6f 72 50 61 74 68 | "gProje|ctorPath|
|00002740| 20 3d 20 22 26 20 67 50 | 72 6f 6a 65 63 74 6f 72 | = "& gP|rojector|
|00002750| 50 61 74 68 0d 20 20 2d | 2d 50 55 54 20 22 67 53 |Path. -|-PUT "gS|
|00002760| 6f 75 6e 64 50 61 74 68 | 20 3d 20 22 26 20 67 53 |oundPath| = "& gS|
|00002770| 6f 75 6e 64 50 61 74 68 | 0d 20 20 2d 2d 50 55 54 |oundPath|. --PUT|
|00002780| 20 22 67 53 6f 75 6e 64 | 50 61 74 68 32 20 3d 20 | "gSound|Path2 = |
|00002790| 22 26 20 67 53 6f 75 6e | 64 50 61 74 68 32 0d 20 |"& gSoun|dPath2. |
|000027a0| 20 0d 20 20 2d 2d 49 66 | 20 73 6f 75 6e 64 6c 65 | . --If| soundle|
|000027b0| 76 65 6c 20 3d 20 30 2c | 20 74 77 65 61 6b 20 69 |vel = 0,| tweak i|
|000027c0| 74 20 75 70 20 74 6f 20 | 32 2e 2e 20 3c 3f 3e 20 |t up to |2.. <?> |
|000027d0| 50 72 6f 62 6c 65 6d 73 | 20 77 69 74 68 20 6d 75 |Problems| with mu|
|000027e0| 6c 74 69 70 6c 65 20 73 | 6f 75 6e 64 2d 63 61 72 |ltiple s|ound-car|
|000027f0| 64 73 3f 20 0d 20 20 2d | 2d 20 20 3c 3f 3e 20 57 |ds? . -|- <?> W|
|00002800| 69 6c 6c 20 74 68 69 73 | 20 6f 76 65 72 72 69 64 |ill this| overrid|
|00002810| 65 20 74 68 65 20 6e 65 | 77 20 22 6d 75 74 65 22 |e the ne|w "mute"|
|00002820| 20 63 68 65 63 6b 62 6f | 78 3f 0d 20 20 73 65 74 | checkbo|x?. set|
|00002830| 20 67 4f 6c 64 53 6e 64 | 4c 65 76 65 6c 20 3d 20 | gOldSnd|Level = |
|00002840| 74 68 65 20 73 6f 75 6e | 64 4c 65 76 65 6c 0d 20 |the soun|dLevel. |
|00002850| 20 2d 2d 69 66 20 74 68 | 65 20 73 6f 75 6e 64 4c | --if th|e soundL|
|00002860| 65 76 65 6c 20 3d 20 30 | 20 74 68 65 6e 20 73 65 |evel = 0| then se|
|00002870| 74 20 74 68 65 20 73 6f | 75 6e 64 4c 65 76 65 6c |t the so|undLevel|
|00002880| 20 3d 20 32 0d 20 20 0d | 20 20 2d 2d 20 4e 4f 54 | = 2. .| -- NOT|
|00002890| 45 20 74 68 61 74 20 74 | 68 69 73 20 68 61 73 20 |E that t|his has |
|000028a0| 62 65 65 6e 20 63 6f 6d | 6d 65 6e 74 65 64 20 6f |been com|mented o|
|000028b0| 75 74 20 69 6e 20 66 61 | 76 6f 72 20 6f 66 20 6c |ut in fa|vor of l|
|000028c0| 65 61 6e 65 72 20 73 65 | 61 72 63 68 50 61 74 68 |eaner se|archPath|
|000028d0| 20 0d 20 20 2d 2d 20 28 | 65 78 70 6c 69 63 69 74 | . -- (|explicit|
|000028e0| 20 63 61 6c 6c 73 20 74 | 6f 20 73 6f 75 6e 64 73 | calls t|o sounds|
|000028f0| 2d 66 6f 6c 64 65 72 2c | 20 6f 6e 65 2d 74 69 6d |-folder,| one-tim|
|00002900| 65 20 61 64 64 69 74 69 | 6f 6e 20 61 6e 64 20 64 |e additi|on and d|
|00002910| 65 6c 65 74 69 6f 6e 20 | 6f 66 0d 20 20 2d 2d 20 |eletion |of. -- |
|00002920| 64 6f 6d 61 69 6e 2d 66 | 6f 6c 64 65 72 73 20 74 |domain-f|olders t|
|00002930| 6f 20 73 65 61 72 63 68 | 50 61 74 68 2c 20 65 74 |o search|Path, et|
|00002940| 63 2e 29 0d 20 20 2d 2d | 20 20 2d 2d 41 70 70 65 |c.). --| --Appe|
|00002950| 6e 64 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 73 |nd the c|urrent s|
|00002960| 65 61 72 63 68 50 61 74 | 68 20 28 73 68 6f 75 6c |earchPat|h (shoul|
|00002970| 64 20 62 65 20 6a 75 73 | 74 20 74 68 65 20 76 61 |d be jus|t the va|
|00002980| 6c 75 65 20 6f 66 20 67 | 41 6d 62 65 72 50 61 74 |lue of g|AmberPat|
|00002990| 68 29 20 74 6f 0d 20 20 | 2d 2d 20 20 2d 2d 20 69 |h) to. |-- -- i|
|000029a0| 6e 63 6c 75 64 65 20 74 | 68 65 20 64 6f 6d 61 69 |nclude t|he domai|
|000029b0| 6e 2d 64 69 72 65 63 74 | 6f 72 69 65 73 3b 20 6f |n-direct|ories; o|
|000029c0| 72 20 64 6f 20 74 68 69 | 73 20 6f 6e 65 20 64 6f |r do thi|s one do|
|000029d0| 6d 61 69 6e 20 61 74 20 | 61 20 74 69 6d 65 2c 20 |main at |a time, |
|000029e0| 74 6f 20 70 6f 69 6e 74 | 20 74 6f 0d 20 20 2d 2d |to point| to. --|
|000029f0| 20 20 2d 2d 20 66 69 6c | 65 73 20 70 6c 61 63 65 | -- fil|es place|
|00002a00| 64 20 69 6e 20 65 61 63 | 68 20 66 6f 6c 64 65 72 |d in eac|h folder|
|00002a10| 20 28 20 51 75 69 63 6b | 54 69 6d 65 20 73 74 75 | ( Quick|Time stu|
|00002a20| 62 2d 66 69 6c 65 2c 20 | 69 6e 76 65 6e 74 6f 72 |b-file, |inventor|
|00002a30| 79 20 67 72 61 70 68 69 | 63 73 2c 20 65 74 63 2e |y graphi|cs, etc.|
|00002a40| 20 29 2e 2e 2e 0d 20 20 | 2d 2d 20 20 73 65 74 20 | ).... |-- set |
|00002a50| 66 6f 6c 64 65 72 4c 69 | 73 74 20 3d 20 5b 22 52 |folderLi|st = ["R|
|00002a60| 4f 58 59 3a 22 2c 22 42 | 52 49 43 45 3a 22 2c 22 |OXY:","B|RICE:","|
|00002a70| 45 44 57 49 4e 3a 22 2c | 22 4d 41 52 47 41 52 45 |EDWIN:",|"MARGARE|
|00002a80| 54 3a 22 5d 0d 20 20 2d | 2d 20 20 72 65 70 65 61 |T:"]. -|- repea|
|00002a90| 74 20 77 69 74 68 20 69 | 20 69 6e 20 66 6f 6c 64 |t with i| in fold|
|00002aa0| 65 72 4c 69 73 74 0d 20 | 20 2d 2d 20 20 20 20 73 |erList. | -- s|
|00002ab0| 65 74 20 64 6f 6d 61 69 | 6e 50 61 74 68 20 3d 20 |et domai|nPath = |
|00002ac0| 67 41 6d 62 65 72 50 61 | 74 68 20 26 20 69 0d 20 |gAmberPa|th & i. |
|00002ad0| 20 2d 2d 20 20 20 20 61 | 70 70 65 6e 64 28 20 74 | -- a|ppend( t|
|00002ae0| 68 65 20 73 65 61 72 63 | 68 70 61 74 68 2c 20 64 |he searc|hpath, d|
|00002af0| 6f 6d 61 69 6e 50 61 74 | 68 20 29 0d 20 20 2d 2d |omainPat|h ). --|
|00002b00| 20 20 65 6e 64 20 72 65 | 70 65 61 74 0d 20 20 2d | end re|peat. -|
|00002b10| 2d 20 20 0d 20 20 2d 2d | 20 20 2d 2d 41 64 64 20 |- . --| --Add |
|00002b20| 74 68 65 20 22 73 6f 75 | 6e 64 73 20 65 74 63 2e |the "sou|nds etc.|
|00002b30| 22 20 66 6f 6c 64 65 72 | 20 74 6f 20 72 65 73 6f |" folder| to reso|
|00002b40| 6c 76 65 20 6c 69 6e 6b | 73 20 74 6f 20 73 74 75 |lve link|s to stu|
|00002b50| 62 73 20 61 6e 64 20 73 | 6f 75 6e 64 2d 6c 6f 6f |bs and s|ound-loo|
|00002b60| 70 20 63 61 73 74 0d 20 | 20 2d 2d 20 20 61 70 70 |p cast. | -- app|
|00002b70| 65 6e 64 28 74 68 65 20 | 73 65 61 72 63 68 70 61 |end(the |searchpa|
|00002b80| 74 68 2c 20 67 53 6f 75 | 6e 64 50 61 74 68 29 0d |th, gSou|ndPath).|
|00002b90| 20 20 2d 2d 50 55 54 20 | 22 a5 74 68 65 20 73 65 | --PUT |".the se|
|00002ba0| 61 72 63 68 50 61 74 68 | 20 3d 22 0d 20 20 2d 2d |archPath| =". --|
|00002bb0| 50 55 54 20 74 68 65 20 | 73 65 61 72 63 68 50 61 |PUT the |searchPa|
|00002bc0| 74 68 0d 20 20 0d 20 20 | 73 65 74 20 67 43 75 72 |th. . |set gCur|
|00002bd0| 72 65 6e 74 50 61 6c 65 | 74 74 65 20 3d 20 30 0d |rentPale|tte = 0.|
|00002be0| 20 20 73 65 74 20 67 43 | 6c 69 63 6b 4c 6f 63 20 | set gC|lickLoc |
|00002bf0| 3d 20 23 4e 6f 6e 65 0d | 20 20 0d 20 20 2d 2d 53 |= #None.| . --S|
|00002c00| 79 73 74 65 6d 20 64 69 | 61 67 6e 6f 73 74 69 63 |ystem di|agnostic|
|00002c10| 73 20 61 6e 64 20 63 61 | 6c 69 62 72 61 74 69 6f |s and ca|libratio|
|00002c20| 6e 20 69 6e 63 6c 75 64 | 65 20 28 69 6e 20 74 68 |n includ|e (in th|
|00002c30| 69 73 20 6f 72 64 65 72 | 21 29 3a 20 0d 20 20 2d |is order|!): . -|
|00002c40| 2d 20 49 73 20 51 75 69 | 63 6b 74 69 6d 65 20 70 |- Is Qui|cktime p|
|00002c50| 72 65 73 65 6e 74 3f 20 | 20 49 66 20 6e 6f 74 2c |resent? | If not,|
|00002c60| 20 69 6e 73 74 72 75 63 | 74 20 6f 6e 20 69 6e 73 | instruc|t on ins|
|00002c70| 74 61 6c 6c 61 74 69 6f | 6e 20 61 6e 64 20 71 75 |tallatio|n and qu|
|00002c80| 69 74 0d 20 20 2d 2d 20 | 57 68 61 74 20 63 6f 6c |it. -- |What col|
|00002c90| 6f 72 20 64 65 70 74 68 | 20 61 6e 64 20 73 6f 75 |or depth| and sou|
|00002ca0| 6e 64 2d 76 6f 6c 75 6d | 65 73 20 61 72 65 20 63 |nd-volum|es are c|
|00002cb0| 75 72 72 65 6e 74 20 28 | 61 6e 64 20 63 61 6e 20 |urrent (|and can |
|00002cc0| 77 65 20 67 65 74 20 0d | 20 20 2d 2d 20 20 20 74 |we get .| -- t|
|00002cd0| 68 65 20 6f 6e 65 73 20 | 77 65 20 77 61 6e 74 3f |he ones |we want?|
|00002ce0| 29 0d 20 20 2d 2d 20 53 | 61 76 65 20 61 6c 6c 20 |). -- S|ave all |
|00002cf0| 63 75 72 72 65 6e 74 20 | 73 65 74 74 69 6e 67 73 |current |settings|
|00002d00| 20 69 6e 20 67 6c 6f 62 | 61 6c 73 20 66 6f 72 20 | in glob|als for |
|00002d10| 72 65 73 74 6f 72 61 74 | 69 6f 6e 3b 20 71 75 69 |restorat|ion; qui|
|00002d20| 74 20 69 66 20 0d 20 20 | 2d 2d 20 20 20 6c 61 63 |t if . |-- lac|
|00002d30| 6b 69 6e 67 20 63 61 70 | 61 62 69 6c 69 74 79 3f |king cap|ability?|
|00002d40| 0d 20 20 2d 2d 20 41 72 | 65 20 74 68 65 72 65 20 |. -- Ar|e there |
|00002d50| 6f 74 68 65 72 20 70 72 | 6f 67 72 61 6d 73 20 72 |other pr|ograms r|
|00002d60| 75 6e 6e 69 6e 67 3f 20 | 28 48 6f 77 20 63 61 6e |unning? |(How can|
|00002d70| 20 49 20 74 65 6c 6c 3f | 29 20 20 49 66 20 73 6f | I tell?|) If so|
|00002d80| 2c 20 0d 20 20 2d 2d 20 | 20 20 73 75 67 67 65 73 |, . -- | sugges|
|00002d90| 74 20 74 68 65 79 20 71 | 75 69 74 20 27 65 6d 2e |t they q|uit 'em.|
|00002da0| 2e 0d 20 20 2d 2d 20 48 | 6f 77 20 66 61 73 74 20 |.. -- H|ow fast |
|00002db0| 69 73 20 74 68 69 73 20 | 6d 61 63 68 69 6e 65 3f |is this |machine?|
|00002dc0| 20 20 53 65 74 20 27 62 | 65 6e 63 68 6d 61 72 6b | Set 'b|enchmark|
|00002dd0| 27 20 67 6c 6f 62 61 6c | 73 20 61 63 63 6f 72 64 |' global|s accord|
|00002de0| 69 6e 67 6c 79 0d 20 20 | 2d 2d 20 57 69 74 68 20 |ingly. |-- With |
|00002df0| 75 73 65 72 27 73 20 66 | 65 65 64 62 61 63 6b 2c |user's f|eedback,|
|00002e00| 20 61 64 6a 75 73 74 20 | 74 68 65 20 62 72 69 67 | adjust |the brig|
|00002e10| 68 74 6e 65 73 73 2f 63 | 6f 6e 74 72 61 73 74 2f |htness/c|ontrast/|
|00002e20| 76 6f 6c 75 6d 65 2f 67 | 61 6d 6d 61 0d 20 20 2d |volume/g|amma. -|
|00002e30| 2d 20 20 20 74 6f 20 72 | 65 66 65 72 65 6e 63 65 |- to r|eference|
|00002e40| 20 69 6d 61 67 65 73 2f | 73 6f 75 6e 64 73 2e 2e | images/|sounds..|
|00002e50| 2e 43 41 4c 49 42 52 41 | 54 45 20 77 69 74 68 20 |.CALIBRA|TE with |
|00002e60| 74 68 65 20 75 73 65 72 | 27 73 20 70 65 72 63 65 |the user|'s perce|
|00002e70| 70 74 69 6f 6e 73 21 0d | 20 20 2d 2d 20 53 61 76 |ptions!.| -- Sav|
|00002e80| 65 20 66 69 6e 64 69 6e | 67 73 20 69 6e 20 61 20 |e findin|gs in a |
|00002e90| 27 70 72 65 66 73 27 20 | 66 69 6c 65 20 66 6f 72 |'prefs' |file for|
|00002ea0| 20 74 68 69 73 20 70 6c | 61 79 62 61 63 6b 20 6d | this pl|ayback m|
|00002eb0| 61 63 68 69 6e 65 2e 0d | 20 20 0d 20 20 2d 2d 52 |achine..| . --R|
|00002ec0| 65 73 6f 75 72 63 65 2f | 58 4f 42 4a 20 69 6e 69 |esource/|XOBJ ini|
|00002ed0| 74 73 20 69 6e 63 6c 75 | 64 65 3a 0d 20 20 2d 2d |ts inclu|de:. --|
|00002ee0| 20 46 69 6e 64 20 65 76 | 65 72 79 74 68 69 6e 67 | Find ev|erything|
|00002ef0| 20 28 77 68 61 74 2c 20 | 69 66 20 61 6e 79 74 68 | (what, |if anyth|
|00002f00| 69 6e 67 2c 20 64 69 64 | 20 75 73 65 72 20 6d 6f |ing, did| user mo|
|00002f10| 76 65 20 74 6f 20 68 61 | 72 64 20 64 69 73 6b 3f |ve to ha|rd disk?|
|00002f20| 29 20 61 6e 64 20 73 65 | 74 20 70 61 74 68 73 2e |) and se|t paths.|
|00002f30| 2e 2e 0d 20 20 2d 2d 20 | 4c 6f 63 61 74 65 20 61 |... -- |Locate a|
|00002f40| 6e 64 20 6f 70 65 6e 20 | 72 65 73 2d 66 69 6c 65 |nd open |res-file|
|00002f50| 73 20 61 6e 64 20 58 6c | 69 62 73 2c 20 72 65 63 |s and Xl|ibs, rec|
|00002f60| 6f 76 65 72 69 6e 67 20 | 67 72 61 63 65 66 75 6c |overing |graceful|
|00002f70| 6c 79 20 69 66 20 74 68 | 65 72 65 27 73 20 61 20 |ly if th|ere's a |
|00002f80| 70 72 6f 62 6c 65 6d 0d | 20 20 69 66 20 67 43 50 |problem.| if gCP|
|00002f90| 55 20 3d 20 23 50 43 20 | 74 68 65 6e 0d 20 20 20 |U = #PC |then. |
|00002fa0| 20 2d 2d 6f 70 65 6e 20 | 6d 69 73 63 65 6c 6c 61 | --open |miscella|
|00002fb0| 6e 65 6f 75 73 20 58 4f | 42 4a 73 20 28 44 4c 4c |neous XO|BJs (DLL|
|00002fc0| 20 66 69 6c 65 73 29 20 | 61 73 20 6e 65 65 64 65 | files) |as neede|
|00002fd0| 64 20 61 74 20 74 68 69 | 73 20 70 6f 69 6e 74 2e |d at thi|s point.|
|00002fe0| 2e 0d 20 20 20 20 6f 70 | 65 6e 58 6c 69 62 20 67 |.. op|enXlib g|
|00002ff0| 50 72 6f 6a 65 63 74 6f | 72 50 61 74 68 26 20 22 |Projecto|rPath& "|
|00003000| 4d 4f 56 55 54 49 4c 53 | 2e 44 4c 4c 22 0d 20 20 |MOVUTILS|.DLL". |
|00003010| 20 20 6f 70 65 6e 58 6c | 69 62 20 67 50 72 6f 6a | openXl|ib gProj|
|00003020| 65 63 74 6f 72 50 61 74 | 68 26 20 22 4d 45 4d 4f |ectorPat|h& "MEMO|
|00003030| 52 59 2e 44 4c 4c 22 0d | 20 20 20 20 6f 70 65 6e |RY.DLL".| open|
|00003040| 58 6c 69 62 20 67 50 72 | 6f 6a 65 63 74 6f 72 50 |Xlib gPr|ojectorP|
|00003050| 61 74 68 26 20 22 4d 49 | 53 43 5f 58 2e 44 4c 4c |ath& "MI|SC_X.DLL|
|00003060| 22 0d 20 20 20 20 6f 70 | 65 6e 58 6c 69 62 20 67 |". op|enXlib g|
|00003070| 50 72 6f 6a 65 63 74 6f | 72 50 61 74 68 26 20 22 |Projecto|rPath& "|
|00003080| 4d 45 4d 4f 52 59 2e 44 | 4c 4c 22 0d 20 20 65 6c |MEMORY.D|LL". el|
|00003090| 73 65 0d 20 20 20 20 6f | 70 65 6e 58 6c 69 62 20 |se. o|penXlib |
|000030a0| 67 50 72 6f 6a 65 63 74 | 6f 72 50 61 74 68 26 20 |gProject|orPath& |
|000030b0| 22 41 4d 42 45 52 20 72 | 65 73 6f 75 72 63 65 73 |"AMBER r|esources|
|000030c0| 22 0d 20 20 20 20 6f 70 | 65 6e 52 65 73 46 69 6c |". op|enResFil|
|000030d0| 65 20 67 50 72 6f 6a 65 | 63 74 6f 72 50 61 74 68 |e gProje|ctorPath|
|000030e0| 26 20 22 41 4d 42 45 52 | 20 72 65 73 6f 75 72 63 |& "AMBER| resourc|
|000030f0| 65 73 22 0d 20 20 20 20 | 2d 2d 4b 69 6c 6c 46 69 |es". |--KillFi|
|00003100| 6e 64 65 72 20 20 2d 2d | 73 65 65 6d 73 20 6c 69 |nder --|seems li|
|00003110| 6b 65 20 61 20 67 6f 6f | 64 20 70 6c 61 63 65 20 |ke a goo|d place |
|00003120| 66 6f 72 20 74 68 69 73 | 2e 2e 20 62 65 66 6f 72 |for this|.. befor|
|00003130| 65 20 61 6e 79 20 51 54 | 20 70 6c 61 79 73 21 0d |e any QT| plays!.|
|00003140| 20 20 65 6e 64 20 69 66 | 0d 20 20 73 65 74 20 74 | end if|. set t|
|00003150| 68 65 20 73 65 61 72 63 | 68 43 75 72 72 65 6e 74 |he searc|hCurrent|
|00003160| 46 6f 6c 64 65 72 20 3d | 20 46 41 4c 53 45 0d 20 |Folder =| FALSE. |
|00003170| 20 0d 20 20 2d 2d 49 6e | 73 74 61 6e 74 69 61 74 | . --In|stantiat|
|00003180| 65 20 74 68 65 20 55 74 | 69 6c 69 74 79 20 6f 62 |e the Ut|ility ob|
|00003190| 6a 65 63 74 2c 20 66 6f | 72 20 73 65 74 74 69 6e |ject, fo|r settin|
|000031a0| 67 20 66 6f 6c 64 65 72 | 73 20 61 6e 64 20 70 61 |g folder|s and pa|
|000031b0| 74 68 6e 61 6d 65 73 2e | 2e 2e 0d 20 20 69 66 20 |thnames.|... if |
|000031c0| 67 43 50 55 20 3d 20 23 | 50 43 20 74 68 65 6e 0d |gCPU = #|PC then.|
|000031d0| 20 20 20 20 73 65 74 20 | 6f 55 74 69 6c 69 74 79 | set |oUtility|
|000031e0| 20 3d 20 4d 4f 56 55 54 | 49 4c 53 28 20 6d 4e 65 | = MOVUT|ILS( mNe|
|000031f0| 77 20 29 0d 20 20 65 6c | 73 65 0d 20 20 20 20 73 |w ). el|se. s|
|00003200| 65 74 20 6f 55 74 69 6c | 69 74 79 20 3d 20 4d 6f |et oUtil|ity = Mo|
|00003210| 76 69 65 55 74 69 6c 69 | 74 69 65 73 28 20 6d 4e |vieUtili|ties( mN|
|00003220| 65 77 20 29 0d 20 20 65 | 6e 64 20 69 66 0d 20 20 |ew ). e|nd if. |
|00003230| 2d 2d 50 55 54 20 22 6f | 55 74 69 6c 69 74 79 20 |--PUT "o|Utility |
|00003240| 3d 20 22 26 20 6f 55 74 | 69 6c 69 74 79 0d 20 20 |= "& oUt|ility. |
|00003250| 0d 20 20 69 66 20 67 43 | 50 55 20 3c 3e 20 23 50 |. if gC|PU <> #P|
|00003260| 43 20 74 68 65 6e 0d 20 | 20 20 20 2d 2d 49 6e 73 |C then. | --Ins|
|00003270| 74 61 6e 74 69 61 74 65 | 20 74 68 65 20 46 69 78 |tantiate| the Fix|
|00003280| 50 61 6c 65 74 74 65 20 | 6f 62 6a 65 63 74 2c 20 |Palette |object, |
|00003290| 66 6f 72 20 67 69 76 69 | 6e 67 20 51 75 69 63 6b |for givi|ng Quick|
|000032a0| 54 69 6d 65 20 61 20 6e | 75 64 67 65 20 74 6f 20 |Time a n|udge to |
|000032b0| 72 65 63 6f 67 6e 69 7a | 65 0d 20 20 20 20 2d 2d |recogniz|e. --|
|000032c0| 20 6e 65 77 20 70 61 6c | 65 74 74 65 73 0d 20 20 | new pal|ettes. |
|000032d0| 20 20 73 65 74 20 6f 46 | 69 78 50 61 6c 20 3d 20 | set oF|ixPal = |
|000032e0| 46 69 78 50 61 6c 65 74 | 74 65 28 6d 4e 65 77 2c |FixPalet|te(mNew,|
|000032f0| 20 74 68 65 20 73 74 61 | 67 65 4c 65 66 74 2c 20 | the sta|geLeft, |
|00003300| 74 68 65 20 73 74 61 67 | 65 54 6f 70 2c 20 74 68 |the stag|eTop, th|
|00003310| 65 20 73 74 61 67 65 52 | 69 67 68 74 2c 20 74 68 |e stageR|ight, th|
|00003320| 65 20 73 74 61 67 65 54 | 6f 70 29 0d 20 20 20 20 |e stageT|op). |
|00003330| 2d 2d 50 55 54 20 22 6f | 46 69 78 50 61 6c 20 3d |--PUT "o|FixPal =|
|00003340| 20 22 26 20 6f 46 69 78 | 50 61 6c 0d 20 20 20 20 | "& oFix|Pal. |
|00003350| 0d 20 20 20 20 2d 2d 49 | 6e 73 74 61 6e 74 69 61 |. --I|nstantia|
|00003360| 74 65 20 74 68 65 20 43 | 6f 6c 6f 72 43 75 72 73 |te the C|olorCurs|
|00003370| 6f 72 20 6f 62 6a 65 63 | 74 2c 20 66 6f 72 20 63 |or objec|t, for c|
|00003380| 6f 6c 6f 72 20 63 75 72 | 73 6f 72 73 20 6f 6e 20 |olor cur|sors on |
|00003390| 74 68 65 20 4d 61 63 0d | 20 20 20 20 73 65 74 20 |the Mac.| set |
|000033a0| 63 6f 6c 6f 72 63 72 73 | 72 20 3d 20 43 6f 6c 6f |colorcrs|r = Colo|
|000033b0| 72 43 75 72 73 6f 72 28 | 6d 4e 65 77 29 0d 20 20 |rCursor(|mNew). |
|000033c0| 20 20 2d 2d 50 55 54 20 | 22 63 6f 6c 6f 72 63 72 | --PUT |"colorcr|
|000033d0| 73 72 20 3d 20 22 26 20 | 63 6f 6c 6f 72 63 72 73 |sr = "& |colorcrs|
|000033e0| 72 0d 20 20 65 6e 64 20 | 69 66 0d 20 20 0d 20 20 |r. end |if. . |
|000033f0| 2d 2d 53 65 74 20 75 70 | 20 65 6e 76 69 72 6f 6e |--Set up| environ|
|00003400| 6d 65 6e 74 20 28 63 6f | 6c 6f 72 2c 20 73 6f 75 |ment (co|lor, sou|
|00003410| 6e 64 20 76 6f 6c 75 6d | 65 73 2c 20 65 74 63 29 |nd volum|es, etc)|
|00003420| 2c 20 73 61 76 69 6e 67 | 20 74 68 65 20 75 73 65 |, saving| the use|
|00003430| 72 27 73 20 63 75 72 72 | 65 6e 74 0d 20 20 2d 2d |r's curr|ent. --|
|00003440| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 20 66 6f 72 | environ|ment for|
|00003450| 20 72 65 73 74 6f 72 61 | 74 69 6f 6e 20 77 68 65 | restora|tion whe|
|00003460| 6e 20 70 75 74 74 69 6e | 67 20 61 77 61 79 20 67 |n puttin|g away g|
|00003470| 61 6d 65 0d 20 20 69 66 | 20 67 43 50 55 20 3c 3e |ame. if| gCPU <>|
|00003480| 20 23 50 43 20 74 68 65 | 6e 0d 20 20 20 20 67 61 | #PC the|n. ga|
|00003490| 6d 6d 61 46 61 64 65 20 | 23 64 6f 77 6e 0d 20 20 |mmaFade |#down. |
|000034a0| 20 20 73 65 74 43 6f 6c | 6f 72 20 38 0d 20 20 20 | setCol|or 8. |
|000034b0| 20 69 66 20 74 68 65 20 | 63 6f 6c 6f 72 44 65 70 | if the |colorDep|
|000034c0| 74 68 20 3c 3e 20 38 20 | 74 68 65 6e 0d 20 20 20 |th <> 8 |then. |
|000034d0| 20 20 20 73 65 74 20 64 | 65 70 74 68 46 61 69 6c | set d|epthFail|
|000034e0| 75 72 65 20 3d 20 38 20 | 0d 20 20 20 20 65 6e 64 |ure = 8 |. end|
|000034f0| 20 69 66 0d 20 20 20 20 | 0d 2d 2d 3d 3d 3d 3d 3d | if. |.--=====|
|00003500| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003510| 3d 3d 20 4d 4f 44 53 20 | 28 69 6e 20 62 6c 75 65 |== MODS |(in blue|
|00003520| 29 20 66 6f 72 20 73 65 | 74 75 70 47 61 6d 65 28 |) for se|tupGame(|
|00003530| 29 20 69 6e 20 41 4d 42 | 45 52 48 55 42 3a 0d 0d |) in AMB|ERHUB:..|
|00003540| 20 20 20 20 73 65 74 43 | 6f 6c 6f 72 20 31 36 0d | setC|olor 16.|
|00003550| 20 20 20 20 69 66 20 74 | 68 65 20 63 6f 6c 6f 72 | if t|he color|
|00003560| 44 65 70 74 68 20 3c 3e | 20 31 36 20 74 68 65 6e |Depth <>| 16 then|
|00003570| 0d 20 20 20 20 20 20 69 | 66 20 74 68 65 20 63 6f |. i|f the co|
|00003580| 6c 6f 72 64 65 70 74 68 | 20 3d 20 33 32 20 74 68 |lordepth| = 32 th|
|00003590| 65 6e 0d 20 20 20 20 20 | 20 20 20 73 65 74 20 64 |en. | set d|
|000035a0| 65 70 74 68 46 61 69 6c | 75 72 65 20 3d 20 23 72 |epthFail|ure = #r|
|000035b0| 75 6e 6e 69 6e 67 49 6e | 33 32 0d 20 20 20 20 20 |unningIn|32. |
|000035c0| 20 65 6c 73 65 0d 20 20 | 20 20 20 20 20 20 73 65 | else. | se|
|000035d0| 74 20 64 65 70 74 68 46 | 61 69 6c 75 72 65 20 3d |t depthF|ailure =|
|000035e0| 20 31 36 20 0d 20 20 20 | 20 20 20 65 6e 64 20 69 | 16 . | end i|
|000035f0| 66 0d 20 20 20 20 20 20 | 0d 20 20 20 20 65 6e 64 |f. |. end|
|00003600| 20 69 66 0d 20 20 20 20 | 0d 20 20 20 20 67 61 6d | if. |. gam|
|00003610| 6d 61 46 61 64 65 20 23 | 75 70 0d 20 20 20 20 69 |maFade #|up. i|
|00003620| 66 20 64 65 70 74 68 46 | 61 69 6c 75 72 65 20 3d |f depthF|ailure =|
|00003630| 20 38 20 74 68 65 6e 0d | 20 20 20 20 20 20 61 6c | 8 then.| al|
|00003640| 65 72 74 20 22 53 6f 72 | 72 79 2c 20 41 4d 42 45 |ert "Sor|ry, AMBE|
|00003650| 52 3a 20 4a 6f 75 72 6e | 65 79 73 20 42 65 79 6f |R: Journ|eys Beyo|
|00003660| 6e 64 20 72 65 71 75 69 | 72 65 73 20 61 20 64 69 |nd requi|res a di|
|00003670| 73 70 6c 61 79 20 63 61 | 70 61 62 6c 65 20 6f 66 |splay ca|pable of|
|00003680| 20 22 26 20 c2 0d 20 20 | 20 20 20 20 20 20 20 20 | "& .. | |
|00003690| 20 20 20 20 22 73 68 6f | 77 69 6e 67 20 74 68 6f | "sho|wing tho|
|000036a0| 75 73 61 6e 64 73 20 6f | 66 20 63 6f 6c 6f 72 73 |usands o|f colors|
|000036b0| 2e 22 0d 20 20 20 20 20 | 20 51 55 49 54 0d 20 20 |.". | QUIT. |
|000036c0| 20 20 65 6e 64 20 69 66 | 0d 20 20 20 20 0d 20 20 | end if|. . |
|000036d0| 20 20 69 66 20 64 65 70 | 74 68 46 61 69 6c 75 72 | if dep|thFailur|
|000036e0| 65 20 3d 20 31 36 20 74 | 68 65 6e 0d 20 20 20 20 |e = 16 t|hen. |
|000036f0| 20 20 61 6c 65 72 74 20 | 22 53 6f 72 72 79 2c 20 | alert |"Sorry, |
|00003700| 41 4d 42 45 52 3a 20 4a | 6f 75 72 6e 65 79 73 20 |AMBER: J|ourneys |
|00003710| 42 65 79 6f 6e 64 20 72 | 65 71 75 69 72 65 73 20 |Beyond r|equires |
|00003720| 61 20 64 69 73 70 6c 61 | 79 20 63 61 70 61 62 6c |a displa|y capabl|
|00003730| 65 20 6f 66 20 22 26 20 | c2 0d 20 20 20 20 20 20 |e of "& |.. |
|00003740| 20 20 20 20 20 20 20 20 | 22 73 68 6f 77 69 6e 67 | |"showing|
|00003750| 20 74 68 6f 75 73 61 6e | 64 73 20 6f 66 20 63 6f | thousan|ds of co|
|00003760| 6c 6f 72 73 2e 20 54 72 | 79 20 73 65 74 74 69 6e |lors. Tr|y settin|
|00003770| 67 20 79 6f 75 72 20 22 | 26 20 c2 0d 20 20 20 20 |g your "|& .. |
|00003780| 20 20 20 20 20 20 20 20 | 20 20 22 6d 6f 6e 69 74 | | "monit|
|00003790| 6f 72 20 74 6f 20 36 34 | 30 20 78 20 34 38 30 20 |or to 64|0 x 480 |
|000037a0| 28 69 6e 20 74 68 65 20 | 4d 6f 6e 69 74 6f 72 73 |(in the |Monitors|
|000037b0| 20 63 6f 6e 74 72 6f 6c | 20 70 61 6e 65 6c 29 2e | control| panel).|
|000037c0| 22 0d 20 20 20 20 20 20 | 51 55 49 54 0d 20 20 20 |". |QUIT. |
|000037d0| 20 65 6e 64 20 69 66 0d | 20 20 20 20 0d 20 20 20 | end if.| . |
|000037e0| 20 69 66 20 64 65 70 74 | 68 46 61 69 6c 75 72 65 | if dept|hFailure|
|000037f0| 20 3d 20 23 72 75 6e 6e | 69 6e 67 49 6e 33 32 20 | = #runn|ingIn32 |
|00003800| 74 68 65 6e 0d 20 20 20 | 20 20 20 61 6c 65 72 74 |then. | alert|
|00003810| 20 22 41 4d 42 45 52 3a | 20 4a 6f 75 72 6e 65 79 | "AMBER:| Journey|
|00003820| 73 20 42 65 79 6f 6e 64 | 20 69 73 20 6f 70 74 69 |s Beyond| is opti|
|00003830| 6d 69 7a 65 64 20 66 6f | 72 20 74 68 6f 75 73 61 |mized fo|r thousa|
|00003840| 6e 64 73 20 6f 66 20 63 | 6f 6c 6f 72 73 2e 20 22 |nds of c|olors. "|
|00003850| 26 20 c2 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |& .. | |
|00003860| 20 20 22 59 6f 75 20 63 | 61 6e 20 63 6f 6e 74 69 | "You c|an conti|
|00003870| 6e 75 65 20 77 69 74 68 | 20 6d 69 6c 6c 69 6f 6e |nue with| million|
|00003880| 73 20 6f 66 20 63 6f 6c | 6f 72 73 2c 20 62 75 74 |s of col|ors, but|
|00003890| 20 6d 61 79 20 65 78 70 | 65 72 69 65 6e 63 65 20 | may exp|erience |
|000038a0| 73 6c 6f 77 65 72 20 70 | 65 72 66 6f 72 6d 61 6e |slower p|erforman|
|000038b0| 63 65 2e 20 22 0d 20 20 | 20 20 65 6e 64 20 69 66 |ce. ". | end if|
|000038c0| 0d 20 20 20 20 0d 20 20 | 65 6e 64 20 69 66 0d 20 |. . |end if. |
|000038d0| 20 0d 20 20 2d 2d 49 6e | 73 74 61 6e 74 69 61 74 | . --In|stantiat|
|000038e0| 65 20 74 68 65 20 4d 65 | 6d 6f 72 79 20 58 4f 62 |e the Me|mory XOb|
|000038f0| 6a 65 63 74 2c 20 66 6f | 72 20 74 72 61 63 6b 69 |ject, fo|r tracki|
|00003900| 6e 67 2f 70 75 72 67 69 | 6e 67 2f 63 6f 6d 70 61 |ng/purgi|ng/compa|
|00003910| 63 74 69 6e 67 20 74 68 | 65 20 68 65 61 70 2e 2e |cting th|e heap..|
|00003920| 0d 0d 2d 2d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |..--====|========|
|00003930| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 20 20 69 66 20 |========|=== if |
|00003940| 6f 62 6a 65 63 74 50 28 | 6f 4d 65 6d 6f 72 79 29 |objectP(|oMemory)|
|00003950| 20 74 68 65 6e 20 6f 4d | 65 6d 6f 72 79 28 6d 44 | then oM|emory(mD|
|00003960| 69 73 70 6f 73 65 29 0d | 20 20 73 65 74 20 6f 4d |ispose).| set oM|
|00003970| 65 6d 6f 72 79 20 3d 20 | 6d 65 6d 6f 72 79 28 6d |emory = |memory(m|
|00003980| 4e 65 77 29 0d 20 20 69 | 66 20 28 6e 6f 74 20 6f |New). i|f (not o|
|00003990| 62 6a 65 63 74 50 28 6f | 4d 65 6d 6f 72 79 29 29 |bjectP(o|Memory))|
|000039a0| 20 74 68 65 6e 0d 20 20 | 20 20 61 6c 65 72 74 20 | then. | alert |
|000039b0| 22 4d 65 6d 6f 72 79 20 | 58 4f 62 6a 65 63 74 20 |"Memory |XObject |
|000039c0| 63 6f 75 6c 64 20 6e 6f | 74 20 69 6e 69 74 69 61 |could no|t initia|
|000039d0| 6c 69 7a 65 2e 22 0d 20 | 20 20 20 65 78 69 74 0d |lize.". | exit.|
|000039e0| 20 20 65 6e 64 20 69 66 | 0d 20 20 0d 20 20 69 66 | end if|. . if|
|000039f0| 20 67 43 50 55 20 3c 3e | 20 23 50 43 20 74 68 65 | gCPU <>| #PC the|
|00003a00| 6e 0d 20 20 20 20 2d 2d | 43 48 45 43 4b 20 66 69 |n. --|CHECK fi|
|00003a10| 72 73 74 20 74 6f 20 73 | 65 65 20 69 66 20 62 61 |rst to s|ee if ba|
|00003a20| 63 6b 67 72 6f 75 6e 64 | 20 69 73 20 6e 65 65 64 |ckground| is need|
|00003a30| 65 64 20 28 74 65 73 74 | 20 64 65 73 6b 74 6f 70 |ed (test| desktop|
|00003a40| 20 73 69 7a 65 2c 20 6f | 72 20 6d 6f 6e 69 74 6f | size, o|r monito|
|00003a50| 72 20 73 69 7a 65 3f 29 | 0d 20 20 20 20 2d 2d 50 |r size?)|. --P|
|00003a60| 55 54 20 22 66 72 65 65 | 20 62 79 74 65 73 20 3d |UT "free| bytes =|
|00003a70| 20 22 26 20 74 68 65 20 | 66 72 65 65 42 79 74 65 | "& the |freeByte|
|00003a80| 73 0d 20 20 20 20 2d 2d | 50 55 54 20 22 66 72 65 |s. --|PUT "fre|
|00003a90| 65 20 62 6c 6f 63 6b 20 | 3d 20 22 26 20 74 68 65 |e block |= "& the|
|00003aa0| 20 66 72 65 65 42 6c 6f | 63 6b 0d 20 20 20 20 69 | freeBlo|ck. i|
|00003ab0| 66 20 6e 6f 74 20 6f 62 | 6a 65 63 74 50 28 20 6f |f not ob|jectP( o|
|00003ac0| 42 61 63 6b 64 72 6f 70 | 20 29 20 74 68 65 6e 20 |Backdrop| ) then |
|00003ad0| 73 65 74 20 6f 42 61 63 | 6b 64 72 6f 70 20 3d 20 |set oBac|kdrop = |
|00003ae0| 52 65 61 72 57 69 6e 64 | 6f 77 28 20 6d 4e 65 77 |RearWind|ow( mNew|
|00003af0| 2c 20 22 53 22 20 29 20 | 20 2d 2d 73 69 6e 67 6c |, "S" ) | --singl|
|00003b00| 65 2d 6d 6f 6e 69 74 6f | 72 0d 20 20 20 20 2d 2d |e-monito|r. --|
|00003b10| 50 55 54 20 22 66 72 65 | 65 20 62 79 74 65 73 20 |PUT "fre|e bytes |
|00003b20| 3d 20 22 26 20 74 68 65 | 20 66 72 65 65 42 79 74 |= "& the| freeByt|
|00003b30| 65 73 0d 20 20 20 20 2d | 2d 50 55 54 20 22 66 72 |es. -|-PUT "fr|
|00003b40| 65 65 20 62 6c 6f 63 6b | 20 3d 20 22 26 20 74 68 |ee block| = "& th|
|00003b50| 65 20 66 72 65 65 42 6c | 6f 63 6b 0d 20 20 20 20 |e freeBl|ock. |
|00003b60| 0d 20 20 20 20 2d 2d 43 | 68 65 63 6b 20 74 68 65 |. --C|heck the|
|00003b70| 20 6d 6f 6e 69 74 6f 72 | 20 64 69 6d 65 6e 73 69 | monitor| dimensi|
|00003b80| 6f 6e 73 3b 20 69 66 20 | 69 74 27 73 20 6d 6f 72 |ons; if |it's mor|
|00003b90| 65 20 74 68 61 6e 20 36 | 34 30 20 78 20 34 38 30 |e than 6|40 x 480|
|00003ba0| 2c 20 75 73 65 20 74 68 | 65 20 52 65 61 72 57 69 |, use th|e RearWi|
|00003bb0| 6e 64 6f 77 0d 20 20 20 | 20 70 75 74 20 28 6f 42 |ndow. | put (oB|
|00003bc0| 61 63 6b 64 72 6f 70 28 | 20 6d 47 65 74 53 63 72 |ackdrop(| mGetScr|
|00003bd0| 65 65 6e 42 6f 74 74 6f | 6d 20 29 20 2d 20 6f 42 |eenBotto|m ) - oB|
|00003be0| 61 63 6b 64 72 6f 70 28 | 20 6d 47 65 74 53 63 72 |ackdrop(| mGetScr|
|00003bf0| 65 65 6e 54 6f 70 20 29 | 20 29 20 69 6e 74 6f 20 |eenTop )| ) into |
|00003c00| 68 6f 77 48 69 67 68 0d | 20 20 20 20 70 75 74 20 |howHigh.| put |
|00003c10| 28 20 6f 42 61 63 6b 64 | 72 6f 70 28 20 6d 47 65 |( oBackd|rop( mGe|
|00003c20| 74 53 63 72 65 65 6e 52 | 69 67 68 74 20 20 29 20 |tScreenR|ight ) |
|00003c30| 2d 20 6f 42 61 63 6b 64 | 72 6f 70 28 20 6d 47 65 |- oBackd|rop( mGe|
|00003c40| 74 53 63 72 65 65 6e 4c | 65 66 74 20 20 20 29 20 |tScreenL|eft ) |
|00003c50| 29 20 69 6e 74 6f 20 68 | 6f 77 57 69 64 65 0d 20 |) into h|owWide. |
|00003c60| 20 20 20 2d 2d 50 55 54 | 20 22 68 6f 77 20 68 69 | --PUT| "how hi|
|00003c70| 67 68 3f 20 22 26 20 68 | 6f 77 48 69 67 68 0d 20 |gh? "& h|owHigh. |
|00003c80| 20 20 20 2d 2d 50 55 54 | 20 22 68 6f 77 20 77 69 | --PUT| "how wi|
|00003c90| 64 65 3f 20 22 26 20 68 | 6f 77 57 69 64 65 0d 20 |de? "& h|owWide. |
|00003ca0| 20 20 20 69 66 20 68 6f | 77 48 69 67 68 20 3e 20 | if ho|wHigh > |
|00003cb0| 34 38 30 20 4f 52 20 68 | 6f 77 57 69 64 65 20 3e |480 OR h|owWide >|
|00003cc0| 20 36 34 30 20 74 68 65 | 6e 0d 20 20 20 20 20 20 | 640 the|n. |
|00003cd0| 50 55 54 20 22 75 73 69 | 6e 67 20 52 65 61 72 57 |PUT "usi|ng RearW|
|00003ce0| 69 6e 64 6f 77 3a 22 20 | 26 26 20 6f 42 61 63 6b |indow:" |&& oBack|
|00003cf0| 64 72 6f 70 0d 20 20 20 | 20 20 20 6f 42 61 63 6b |drop. | oBack|
|00003d00| 64 72 6f 70 28 20 6d 50 | 61 74 54 6f 57 69 6e 64 |drop( mP|atToWind|
|00003d10| 6f 77 2c 20 2d 35 20 29 | 20 20 20 2d 2d 62 6c 61 |ow, -5 )| --bla|
|00003d20| 63 6b 73 20 6f 75 74 20 | 74 68 65 20 73 63 72 65 |cks out |the scre|
|00003d30| 65 6e 20 6f 75 74 73 69 | 64 65 20 74 68 65 20 73 |en outsi|de the s|
|00003d40| 74 61 67 65 0d 20 20 20 | 20 65 6c 73 65 0d 20 20 |tage. | else. |
|00003d50| 20 20 20 20 50 55 54 20 | 22 73 6d 61 6c 6c 20 6d | PUT |"small m|
|00003d60| 6f 6e 69 74 6f 72 3b 20 | 64 75 6d 70 69 6e 67 20 |onitor; |dumping |
|00003d70| 52 65 61 72 57 69 6e 64 | 6f 77 3a 22 20 26 26 20 |RearWind|ow:" && |
|00003d80| 6f 42 61 63 6b 64 72 6f | 70 28 20 6d 44 69 73 70 |oBackdro|p( mDisp|
|00003d90| 6f 73 65 20 29 0d 20 20 | 20 20 65 6e 64 20 69 66 |ose ). | end if|
|00003da0| 0d 20 20 20 20 2d 2d 40 | 40 20 69 6e 69 74 20 74 |. --@|@ init t|
|00003db0| 68 65 20 6f 47 61 6d 6d | 61 20 6f 62 6a 65 63 74 |he oGamm|a object|
|00003dc0| 2e 2e 0d 20 20 20 20 69 | 66 20 6f 62 6a 65 63 74 |... i|f object|
|00003dd0| 50 28 6f 47 61 6d 6d 61 | 29 20 74 68 65 6e 0d 20 |P(oGamma|) then. |
|00003de0| 20 20 20 20 20 6f 47 61 | 6d 6d 61 28 6d 44 69 73 | oGa|mma(mDis|
|00003df0| 70 6f 73 65 29 0d 20 20 | 20 20 20 20 73 65 74 20 |pose). | set |
|00003e00| 6f 47 61 6d 6d 61 20 3d | 20 30 0d 20 20 20 20 65 |oGamma =| 0. e|
|00003e10| 6e 64 20 69 66 0d 20 20 | 20 20 73 65 74 20 6f 47 |nd if. | set oG|
|00003e20| 61 6d 6d 61 20 3d 20 47 | 61 6d 6d 61 28 6d 4e 65 |amma = G|amma(mNe|
|00003e30| 77 29 0d 20 20 20 20 69 | 66 20 6e 6f 74 20 6f 62 |w). i|f not ob|
|00003e40| 6a 65 63 74 50 28 20 6f | 47 61 6d 6d 61 20 29 20 |jectP( o|Gamma ) |
|00003e50| 74 68 65 6e 20 20 20 2d | 2d 47 61 6d 6d 61 20 6f |then -|-Gamma o|
|00003e60| 62 6a 65 63 74 20 63 72 | 65 61 74 69 6f 6e 20 66 |bject cr|eation f|
|00003e70| 61 69 6c 65 64 2e 2e 0d | 20 20 20 20 20 20 69 66 |ailed...| if|
|00003e80| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 44 6f 77 6e | the com|mandDown|
|00003e90| 20 74 68 65 6e 20 41 4c | 45 52 54 20 22 46 61 69 | then AL|ERT "Fai|
|00003ea0| 6c 65 64 20 74 6f 20 63 | 72 65 61 74 65 20 67 61 |led to c|reate ga|
|00003eb0| 6d 6d 61 20 6f 62 6a 65 | 63 74 2e 20 22 20 c2 0d |mma obje|ct. " ..|
|00003ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003ed0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003ee0| 20 26 52 45 54 55 52 4e | 26 20 22 44 69 73 61 62 | &RETURN|& "Disab|
|00003ef0| 6c 69 6e 67 20 74 68 65 | 20 22 26 51 55 4f 54 45 |ling the| "&QUOTE|
|00003f00| 26 22 42 72 69 67 68 74 | 6e 65 73 73 22 26 51 55 |&"Bright|ness"&QU|
|00003f10| 4f 54 45 26 22 20 6d 65 | 6e 75 2e 22 0d 20 20 20 |OTE&" me|nu.". |
|00003f20| 20 20 20 0d 20 20 20 20 | 20 20 73 65 74 20 67 47 | . | set gG|
|00003f30| 61 6d 6d 61 4c 65 76 65 | 6c 20 3d 20 22 75 6e 6b |ammaLeve|l = "unk|
|00003f40| 6e 6f 77 6e 22 0d 20 20 | 20 20 65 6c 73 65 0d 20 |nown". | else. |
|00003f50| 20 20 20 20 20 73 65 74 | 20 67 4d 61 69 6e 53 63 | set| gMainSc|
|00003f60| 72 65 65 6e 20 3d 20 6f | 47 61 6d 6d 61 28 20 6d |reen = o|Gamma( m|
|00003f70| 4d 61 69 6e 47 61 6d 6d | 61 20 29 20 2d 2d 69 74 |MainGamm|a ) --it|
|00003f80| 73 20 67 61 6d 6d 61 20 | 74 61 62 6c 65 20 49 44 |s gamma |table ID|
|00003f90| 2c 20 61 63 74 75 61 6c | 6c 79 2e 2e 0d 20 20 20 |, actual|ly... |
|00003fa0| 20 20 20 2d 2d 74 65 73 | 74 20 66 6f 72 20 22 6e | --tes|t for "n|
|00003fb0| 6f 20 67 61 6d 6d 61 20 | 74 61 62 6c 65 22 20 28 |o gamma |table" (|
|00003fc0| 6e 6f 6e 2d 73 74 61 6e | 64 61 72 64 20 64 69 73 |non-stan|dard dis|
|00003fd0| 70 6c 61 79 3f 29 0d 20 | 20 20 20 20 20 69 66 20 |play?). | if |
|00003fe0| 67 4d 61 69 6e 53 63 72 | 65 65 6e 20 3d 20 2d 31 |gMainScr|een = -1|
|00003ff0| 20 74 68 65 6e 0d 20 20 | 20 20 20 20 20 20 69 66 | then. | if|
|00004000| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 44 6f 77 6e | the com|mandDown|
|00004010| 20 74 68 65 6e 20 41 4c | 45 52 54 20 22 4e 6f 20 | then AL|ERT "No |
|00004020| 67 61 6d 6d 61 20 74 61 | 62 6c 65 20 61 63 74 69 |gamma ta|ble acti|
|00004030| 76 65 20 69 6e 20 6d 61 | 69 6e 20 64 69 73 70 6c |ve in ma|in displ|
|00004040| 61 79 2e 20 22 20 c2 0d | 20 20 20 20 20 20 20 20 |ay. " ..| |
|00004050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004060| 20 20 20 20 20 20 20 20 | 20 20 20 26 52 45 54 55 | | &RETU|
|00004070| 52 4e 26 20 22 44 69 73 | 61 62 6c 69 6e 67 20 74 |RN& "Dis|abling t|
|00004080| 68 65 20 22 26 51 55 4f | 54 45 26 22 42 72 69 67 |he "&QUO|TE&"Brig|
|00004090| 68 74 6e 65 73 73 22 26 | 51 55 4f 54 45 26 22 20 |htness"&|QUOTE&" |
|000040a0| 6d 65 6e 75 2e 22 0d 20 | 20 20 20 20 20 20 20 0d |menu.". | .|
|000040b0| 20 20 20 20 20 20 20 20 | 73 65 74 20 67 47 61 6d | |set gGam|
|000040c0| 6d 61 4c 65 76 65 6c 20 | 3d 20 22 75 6e 6b 6e 6f |maLevel |= "unkno|
|000040d0| 77 6e 22 0d 20 20 20 20 | 20 20 65 6c 73 65 0d 20 |wn". | else. |
|000040e0| 20 20 20 20 20 20 20 2d | 2d 4f 4b 2c 20 6c 65 74 | -|-OK, let|
|000040f0| 27 73 20 67 65 74 20 74 | 68 65 20 6e 75 6d 62 65 |'s get t|he numbe|
|00004100| 72 20 6f 66 20 65 6e 74 | 72 69 65 73 20 69 6e 20 |r of ent|ries in |
|00004110| 74 68 65 20 67 61 6d 6d | 61 20 74 61 62 6c 65 2e |the gamm|a table.|
|00004120| 2e 0d 20 20 20 20 20 20 | 20 20 73 65 74 20 67 47 |.. | set gG|
|00004130| 61 6d 6d 61 53 69 7a 65 | 20 3d 20 6f 47 61 6d 6d |ammaSize| = oGamm|
|00004140| 61 28 20 6d 47 61 6d 6d | 61 54 61 62 6c 65 53 69 |a( mGamm|aTableSi|
|00004150| 7a 65 2c 20 67 4d 61 69 | 6e 53 63 72 65 65 6e 20 |ze, gMai|nScreen |
|00004160| 29 0d 20 20 20 20 20 20 | 20 20 0d 20 20 20 20 20 |). | . |
|00004170| 20 20 20 69 66 20 28 67 | 47 61 6d 6d 61 53 69 7a | if (g|GammaSiz|
|00004180| 65 20 6d 6f 64 20 32 35 | 36 29 20 3c 3e 20 30 20 |e mod 25|6) <> 0 |
|00004190| 74 68 65 6e 20 20 2d 2d | 6f 64 64 2d 73 69 7a 65 |then --|odd-size|
|000041a0| 20 67 61 6d 6d 61 20 74 | 61 62 6c 65 21 20 42 61 | gamma t|able! Ba|
|000041b0| 69 6c 20 6f 75 74 2e 2e | 2e 0d 20 20 20 20 20 20 |il out..|.. |
|000041c0| 20 20 20 20 69 66 20 74 | 68 65 20 63 6f 6d 6d 61 | if t|he comma|
|000041d0| 6e 64 44 6f 77 6e 20 74 | 68 65 6e 20 41 4c 45 52 |ndDown t|hen ALER|
|000041e0| 54 20 22 47 61 6d 6d 61 | 20 74 61 62 6c 65 20 68 |T "Gamma| table h|
|000041f0| 61 73 20 22 26 20 67 47 | 61 6d 6d 61 53 69 7a 65 |as "& gG|ammaSize|
|00004200| 20 26 22 20 65 6e 74 72 | 69 65 73 20 28 65 78 70 | &" entr|ies (exp|
|00004210| 65 63 74 65 64 20 61 20 | 6d 75 6c 74 69 70 6c 65 |ected a |multiple|
|00004220| 20 6f 66 20 32 35 36 29 | 22 20 20 c2 0d 20 20 20 | of 256)|" .. |
|00004230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004250| 20 20 26 52 45 54 55 52 | 4e 26 20 22 44 69 73 61 | &RETUR|N& "Disa|
|00004260| 62 6c 69 6e 67 20 74 68 | 65 20 22 26 51 55 4f 54 |bling th|e "&QUOT|
|00004270| 45 26 22 42 72 69 67 68 | 74 6e 65 73 73 22 26 51 |E&"Brigh|tness"&Q|
|00004280| 55 4f 54 45 26 22 20 6d | 65 6e 75 2e 22 0d 20 20 |UOTE&" m|enu.". |
|00004290| 20 20 20 20 20 20 20 20 | 0d 20 20 20 20 20 20 20 | |. |
|000042a0| 20 20 20 73 65 74 20 67 | 47 61 6d 6d 61 4c 65 76 | set g|GammaLev|
|000042b0| 65 6c 20 3d 20 22 75 6e | 6b 6e 6f 77 6e 22 0d 20 |el = "un|known". |
|000042c0| 20 20 20 20 20 20 20 65 | 6c 73 65 0d 20 20 20 20 | e|lse. |
|000042d0| 20 20 20 20 20 20 2d 2d | 69 66 20 74 68 65 20 63 | --|if the c|
|000042e0| 6f 6d 6d 61 6e 64 44 6f | 77 6e 20 74 68 65 6e 20 |ommandDo|wn then |
|000042f0| 41 4c 45 52 54 20 22 47 | 61 6d 6d 61 20 69 6e 69 |ALERT "G|amma ini|
|00004300| 74 69 61 6c 69 7a 65 64 | 20 63 6f 72 72 65 63 74 |tialized| correct|
|00004310| 6c 79 22 0d 20 20 20 20 | 20 20 20 20 20 20 2d 2d |ly". | --|
|00004320| 66 69 6e 61 6c 6c 79 2c | 20 72 65 63 6b 6f 6e 20 |finally,| reckon |
|00004330| 61 6e 64 20 73 74 6f 72 | 65 20 74 68 65 20 64 69 |and stor|e the di|
|00004340| 73 70 6c 61 79 27 73 20 | 64 65 66 61 75 6c 74 20 |splay's |default |
|00004350| 67 61 6d 6d 61 0d 20 20 | 20 20 20 20 20 20 20 20 |gamma. | |
|00004360| 73 65 74 20 67 43 75 72 | 72 65 6e 74 47 61 6d 6d |set gCur|rentGamm|
|00004370| 61 20 3d 20 72 65 63 6b | 6f 6e 47 61 6d 6d 61 28 |a = reck|onGamma(|
|00004380| 29 0d 20 20 20 20 20 20 | 20 20 20 20 2d 2d 50 55 |). | --PU|
|00004390| 54 20 22 67 43 75 72 72 | 65 6e 74 47 61 6d 6d 61 |T "gCurr|entGamma|
|000043a0| 20 3d 20 22 26 20 67 43 | 75 72 72 65 6e 74 47 61 | = "& gC|urrentGa|
|000043b0| 6d 6d 61 0d 20 20 20 20 | 20 20 20 20 20 20 73 65 |mma. | se|
|000043c0| 74 20 67 47 61 6d 6d 61 | 4c 65 76 65 6c 20 3d 20 |t gGamma|Level = |
|000043d0| 32 20 20 2d 2d 69 6e 69 | 74 69 61 6c 69 7a 65 0d |2 --ini|tialize.|
|000043e0| 20 20 20 20 20 20 20 20 | 20 20 0d 20 20 20 20 20 | | . |
|000043f0| 20 20 20 65 6e 64 20 69 | 66 20 20 20 2d 2d 67 61 | end i|f --ga|
|00004400| 6d 6d 61 2d 74 61 62 6c | 65 20 73 69 7a 65 20 74 |mma-tabl|e size t|
|00004410| 65 73 74 0d 20 20 20 20 | 20 20 65 6e 64 20 69 66 |est. | end if|
|00004420| 20 20 20 2d 2d 6d 61 69 | 6e 20 73 63 72 65 65 6e | --mai|n screen|
|00004430| 20 74 65 73 74 0d 20 20 | 20 20 65 6e 64 20 69 66 | test. | end if|
|00004440| 20 20 2d 2d 6f 62 6a 65 | 63 74 20 63 72 65 61 74 | --obje|ct creat|
|00004450| 69 6f 6e 20 74 65 73 74 | 0d 20 20 20 20 0d 20 20 |ion test|. . |
|00004460| 20 20 2d 2d 50 55 54 20 | 22 66 72 65 65 20 62 79 | --PUT |"free by|
|00004470| 74 65 73 20 3d 20 22 26 | 20 74 68 65 20 66 72 65 |tes = "&| the fre|
|00004480| 65 42 79 74 65 73 0d 20 | 20 20 20 2d 2d 50 55 54 |eBytes. | --PUT|
|00004490| 20 22 66 72 65 65 20 62 | 6c 6f 63 6b 20 3d 20 22 | "free b|lock = "|
|000044a0| 26 20 74 68 65 20 66 72 | 65 65 42 6c 6f 63 6b 0d |& the fr|eeBlock.|
|000044b0| 20 20 65 6e 64 20 69 66 | 0d 20 20 0d 20 20 73 65 | end if|. . se|
|000044c0| 74 20 64 6f 6d 61 69 6e | 49 73 52 65 61 64 79 20 |t domain|IsReady |
|000044d0| 3d 20 46 41 4c 53 45 0d | 20 20 73 65 74 20 59 75 |= FALSE.| set Yu|
|000044e0| 67 6f 43 75 72 73 6f 72 | 73 20 3d 20 5b 20 23 62 |goCursor|s = [ #b|
|000044f0| 72 6f 77 73 65 3a 36 30 | 31 38 2c 23 6c 65 66 74 |rowse:60|18,#left|
|00004500| 3a 36 30 31 32 2c 23 72 | 69 67 68 74 3a 36 30 30 |:6012,#r|ight:600|
|00004510| 36 2c 23 66 6f 72 77 61 | 72 64 3a 36 30 30 31 2c |6,#forwa|rd:6001,|
|00004520| c2 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00004530| 20 20 20 20 20 20 20 20 | 23 62 61 63 6b 3a 33 30 | |#back:30|
|00004540| 30 33 2c 23 65 78 61 6d | 69 6e 65 3a 36 30 32 34 |03,#exam|ine:6024|
|00004550| 2c 23 75 70 3a 36 31 31 | 31 2c 23 64 6f 77 6e 3a |,#up:611|1,#down:|
|00004560| 36 31 31 32 2c 23 70 6f | 69 6e 74 65 72 3a 36 31 |6112,#po|inter:61|
|00004570| 30 30 2c 23 6e 6f 43 75 | 72 73 6f 72 3a 31 32 38 |00,#noCu|rsor:128|
|00004580| 2c c2 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,.. | |
|00004590| 20 20 20 20 20 20 20 20 | 20 23 57 65 65 64 4b 69 | | #WeedKi|
|000045a0| 6c 6c 65 72 3a 36 31 30 | 32 2c 20 23 53 63 61 6e |ller:610|2, #Scan|
|000045b0| 44 65 76 69 63 65 3a 36 | 31 30 33 2c 23 4f 73 63 |Device:6|103,#Osc|
|000045c0| 69 6c 6c 61 74 6f 72 3a | 36 31 30 38 2c 23 48 65 |illator:|6108,#He|
|000045d0| 61 64 67 65 61 72 3a 36 | 31 30 37 2c c2 0d 20 20 |adgear:6|107,.. |
|000045e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000045f0| 20 20 20 20 23 42 65 64 | 72 6f 6f 6d 4b 65 79 3a | #Bed|roomKey:|
|00004600| 36 31 30 36 2c 23 43 72 | 6f 77 62 61 72 3a 36 31 |6106,#Cr|owbar:61|
|00004610| 30 35 2c 23 56 69 64 65 | 6f 74 61 70 65 3a 36 31 |05,#Vide|otape:61|
|00004620| 30 34 2c 23 4e 6f 6e 65 | 3a 36 31 30 30 2c 23 50 |04,#None|:6100,#P|
|00004630| 65 65 6b 55 6e 69 74 3a | 36 31 30 30 2c 20 c2 0d |eekUnit:|6100, ..|
|00004640| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004650| 20 20 20 20 20 20 23 6e | 65 78 74 50 61 67 65 3a | #n|extPage:|
|00004660| 36 31 31 30 2c 23 72 6f | 74 61 74 65 52 69 67 68 |6110,#ro|tateRigh|
|00004670| 74 3a 36 31 30 39 2c 20 | 23 72 6f 74 61 74 65 4c |t:6109, |#rotateL|
|00004680| 65 66 74 3a 36 31 31 39 | 5d 0d 20 20 73 65 74 20 |eft:6119|]. set |
|00004690| 6c 61 73 74 43 75 72 73 | 6f 72 20 3d 20 23 6e 6f |lastCurs|or = #no|
|000046a0| 6e 65 0d 20 20 73 65 74 | 20 74 68 69 73 43 75 72 |ne. set| thisCur|
|000046b0| 73 6f 72 20 3d 20 23 70 | 6f 69 6e 74 65 72 0d 20 |sor = #p|ointer. |
|000046c0| 20 0d 20 20 73 65 74 20 | 6c 61 73 74 53 63 6f 72 | . set |lastScor|
|000046d0| 65 53 70 72 69 74 65 20 | 3d 20 31 32 0d 20 20 0d |eSprite |= 12. .|
|000046e0| 20 20 2d 2d 6c 6f 61 64 | 20 63 75 72 73 6f 72 2d | --load| cursor-|
|000046f0| 66 6c 69 70 62 6f 6f 6b | 73 20 66 6f 72 20 61 6e |flipbook|s for an|
|00004700| 69 6d 61 74 65 64 20 63 | 75 72 73 6f 72 0d 20 20 |imated c|ursor. |
|00004710| 73 65 74 20 46 6f 72 77 | 61 72 64 54 6f 52 69 67 |set Forw|ardToRig|
|00004720| 68 74 20 20 20 3d 20 5b | 20 36 30 30 31 2c 36 30 |ht = [| 6001,60|
|00004730| 30 32 2c 36 30 30 33 2c | 36 30 30 34 2c 36 30 30 |02,6003,|6004,600|
|00004740| 35 2c 36 30 30 36 20 5d | 0d 20 20 73 65 74 20 46 |5,6006 ]|. set F|
|00004750| 6f 72 77 61 72 64 54 6f | 4c 65 66 74 20 20 20 20 |orwardTo|Left |
|00004760| 3d 20 5b 20 36 30 30 37 | 2c 36 30 30 38 2c 36 30 |= [ 6007|,6008,60|
|00004770| 30 39 2c 36 30 31 30 2c | 36 30 31 31 2c 36 30 31 |09,6010,|6011,601|
|00004780| 32 20 5d 0d 20 20 73 65 | 74 20 46 6f 72 77 61 72 |2 ]. se|t Forwar|
|00004790| 64 54 6f 42 72 6f 77 73 | 65 20 20 3d 20 5b 20 36 |dToBrows|e = [ 6|
|000047a0| 30 31 33 2c 36 30 31 34 | 2c 36 30 31 35 2c 36 30 |013,6014|,6015,60|
|000047b0| 31 36 2c 36 30 31 37 2c | 36 30 31 38 20 5d 0d 20 |16,6017,|6018 ]. |
|000047c0| 20 73 65 74 20 46 6f 72 | 77 61 72 64 54 6f 45 78 | set For|wardToEx|
|000047d0| 61 6d 69 6e 65 20 3d 20 | 5b 20 36 30 31 39 2c 36 |amine = |[ 6019,6|
|000047e0| 30 32 30 2c 36 30 32 31 | 2c 36 30 32 32 2c 36 30 |020,6021|,6022,60|
|000047f0| 32 33 2c 36 30 32 34 20 | 5d 0d 20 20 73 65 74 20 |23,6024 |]. set |
|00004800| 42 72 6f 77 73 65 54 6f | 52 69 67 68 74 20 20 20 |BrowseTo|Right |
|00004810| 20 3d 20 5b 20 36 30 32 | 35 2c 36 30 32 36 2c 36 | = [ 602|5,6026,6|
|00004820| 30 32 37 2c 36 30 32 38 | 2c 36 30 32 39 2c 36 30 |027,6028|,6029,60|
|00004830| 33 30 20 5d 0d 20 20 73 | 65 74 20 42 72 6f 77 73 |30 ]. s|et Brows|
|00004840| 65 54 6f 4c 65 66 74 20 | 20 20 20 20 3d 20 5b 20 |eToLeft | = [ |
|00004850| 36 30 33 31 2c 36 30 33 | 32 2c 36 30 33 33 2c 36 |6031,603|2,6033,6|
|00004860| 30 33 34 2c 36 30 33 35 | 2c 36 30 33 36 20 5d 0d |034,6035|,6036 ].|
|00004870| 20 20 73 65 74 20 42 72 | 6f 77 73 65 54 6f 45 78 | set Br|owseToEx|
|00004880| 61 6d 69 6e 65 20 20 3d | 20 5b 20 36 30 33 37 2c |amine =| [ 6037,|
|00004890| 36 30 33 38 2c 36 30 33 | 39 2c 36 30 34 30 2c 36 |6038,603|9,6040,6|
|000048a0| 30 34 31 2c 36 30 34 32 | 20 5d 0d 20 20 73 65 74 |041,6042| ]. set|
|000048b0| 20 52 69 67 68 74 54 6f | 4c 65 66 74 20 20 20 20 | RightTo|Left |
|000048c0| 20 20 3d 20 5b 20 36 30 | 34 33 2c 36 30 34 34 2c | = [ 60|43,6044,|
|000048d0| 36 30 34 35 2c 36 30 34 | 36 2c 36 30 34 37 2c 36 |6045,604|6,6047,6|
|000048e0| 30 34 38 20 5d 0d 20 20 | 73 65 74 20 52 69 67 68 |048 ]. |set Righ|
|000048f0| 74 54 6f 45 78 61 6d 69 | 6e 65 20 20 20 3d 20 5b |tToExami|ne = [|
|00004900| 20 36 30 34 39 2c 36 30 | 35 30 2c 36 30 35 31 2c | 6049,60|50,6051,|
|00004910| 36 30 35 32 2c 36 30 35 | 33 2c 36 30 35 34 20 5d |6052,605|3,6054 ]|
|00004920| 0d 20 20 73 65 74 20 45 | 78 61 6d 69 6e 65 54 6f |. set E|xamineTo|
|00004930| 4c 65 66 74 20 20 20 20 | 3d 20 5b 20 36 30 35 35 |Left |= [ 6055|
|00004940| 2c 36 30 35 36 2c 36 30 | 35 37 2c 36 30 35 38 2c |,6056,60|57,6058,|
|00004950| 36 30 35 39 2c 36 30 36 | 30 20 5d 0d 20 20 2d 2d |6059,606|0 ]. --|
|00004960| 6d 69 72 72 6f 72 20 69 | 6d 61 67 65 73 20 6f 66 |mirror i|mages of|
|00004970| 20 61 62 6f 76 65 2e 2e | 0d 20 20 73 65 74 20 52 | above..|. set R|
|00004980| 69 67 68 74 54 6f 46 6f | 72 77 61 72 64 20 20 20 |ightToFo|rward |
|00004990| 3d 20 5b 20 36 30 30 36 | 2c 36 30 30 35 2c 36 30 |= [ 6006|,6005,60|
|000049a0| 30 34 2c 36 30 30 33 2c | 36 30 30 32 2c 36 30 30 |04,6003,|6002,600|
|000049b0| 31 20 5d 0d 20 20 73 65 | 74 20 4c 65 66 74 54 6f |1 ]. se|t LeftTo|
|000049c0| 46 6f 72 77 61 72 64 20 | 20 20 20 3d 20 5b 20 36 |Forward | = [ 6|
|000049d0| 30 31 32 2c 36 30 31 31 | 2c 36 30 31 30 2c 36 30 |012,6011|,6010,60|
|000049e0| 30 39 2c 36 30 30 38 2c | 36 30 30 37 20 5d 0d 20 |09,6008,|6007 ]. |
|000049f0| 20 73 65 74 20 42 72 6f | 77 73 65 54 6f 46 6f 72 | set Bro|wseToFor|
|00004a00| 77 61 72 64 20 20 3d 20 | 5b 20 36 30 31 38 2c 36 |ward = |[ 6018,6|
|00004a10| 30 31 37 2c 36 30 31 36 | 2c 36 30 31 35 2c 36 30 |017,6016|,6015,60|
|00004a20| 31 34 2c 36 30 31 33 20 | 5d 0d 20 20 73 65 74 20 |14,6013 |]. set |
|00004a30| 45 78 61 6d 69 6e 65 54 | 6f 46 6f 72 77 61 72 64 |ExamineT|oForward|
|00004a40| 20 3d 20 5b 20 36 30 32 | 34 2c 36 30 32 33 2c 36 | = [ 602|4,6023,6|
|00004a50| 30 32 32 2c 36 30 32 31 | 2c 36 30 32 30 2c 36 30 |022,6021|,6020,60|
|00004a60| 31 39 20 5d 0d 20 20 73 | 65 74 20 52 69 67 68 74 |19 ]. s|et Right|
|00004a70| 54 6f 42 72 6f 77 73 65 | 20 20 20 20 3d 20 5b 20 |ToBrowse| = [ |
|00004a80| 36 30 33 30 2c 36 30 32 | 39 2c 36 30 32 38 2c 36 |6030,602|9,6028,6|
|00004a90| 30 32 37 2c 36 30 32 36 | 2c 36 30 32 35 20 5d 0d |027,6026|,6025 ].|
|00004aa0| 20 20 73 65 74 20 4c 65 | 66 74 54 6f 42 72 6f 77 | set Le|ftToBrow|
|00004ab0| 73 65 20 20 20 20 20 3d | 20 5b 20 36 30 33 36 2c |se =| [ 6036,|
|00004ac0| 36 30 33 35 2c 36 30 33 | 34 2c 36 30 33 33 2c 36 |6035,603|4,6033,6|
|00004ad0| 30 33 32 2c 36 30 33 31 | 20 5d 0d 20 20 73 65 74 |032,6031| ]. set|
|00004ae0| 20 45 78 61 6d 69 6e 65 | 54 6f 42 72 6f 77 73 65 | Examine|ToBrowse|
|00004af0| 20 20 3d 20 5b 20 36 30 | 34 32 2c 36 30 34 31 2c | = [ 60|42,6041,|
|00004b00| 36 30 34 30 2c 36 30 33 | 39 2c 36 30 33 38 2c 36 |6040,603|9,6038,6|
|00004b10| 30 33 37 20 5d 0d 20 20 | 73 65 74 20 4c 65 66 74 |037 ]. |set Left|
|00004b20| 54 6f 52 69 67 68 74 20 | 20 20 20 20 20 3d 20 5b |ToRight | = [|
|00004b30| 20 36 30 34 38 2c 36 30 | 34 37 2c 36 30 34 36 2c | 6048,60|47,6046,|
|00004b40| 36 30 34 35 2c 36 30 34 | 34 2c 36 30 34 33 20 5d |6045,604|4,6043 ]|
|00004b50| 0d 20 20 73 65 74 20 45 | 78 61 6d 69 6e 65 54 6f |. set E|xamineTo|
|00004b60| 52 69 67 68 74 20 20 20 | 3d 20 5b 20 36 30 35 34 |Right |= [ 6054|
|00004b70| 2c 36 30 35 33 2c 36 30 | 35 32 2c 36 30 35 31 2c |,6053,60|52,6051,|
|00004b80| 36 30 35 30 2c 36 30 34 | 39 20 5d 0d 20 20 73 65 |6050,604|9 ]. se|
|00004b90| 74 20 4c 65 66 74 54 6f | 45 78 61 6d 69 6e 65 20 |t LeftTo|Examine |
|00004ba0| 20 20 20 3d 20 5b 20 36 | 30 36 30 2c 36 30 35 39 | = [ 6|060,6059|
|00004bb0| 2c 36 30 35 38 2c 36 30 | 35 37 2c 36 30 35 36 2c |,6058,60|57,6056,|
|00004bc0| 36 30 35 35 20 5d 0d 20 | 20 2d 2d 43 61 73 74 20 |6055 ]. | --Cast |
|00004bd0| 63 75 72 73 6f 72 73 20 | 61 72 65 20 6e 6f 77 20 |cursors |are now |
|00004be0| 68 61 6e 64 6c 65 64 20 | 64 79 6e 61 6d 69 63 61 |handled |dynamica|
|00004bf0| 6c 6c 79 2c 20 75 73 69 | 6e 67 20 6f 66 66 73 65 |lly, usi|ng offse|
|00004c00| 74 73 20 69 6e 74 6f 20 | 74 68 65 20 63 61 73 74 |ts into |the cast|
|00004c10| 2c 20 62 79 20 73 75 62 | 74 72 61 63 74 69 6e 67 |, by sub|tracting|
|00004c20| 20 66 72 6f 6d 0d 20 20 | 2d 2d 20 74 68 65 20 27 | from. |-- the '|
|00004c30| 63 72 73 72 27 20 49 44 | 23 73 20 61 62 6f 76 65 |crsr' ID|#s above|
|00004c40| 2e 2e 0d 20 20 0d 20 20 | 73 65 74 20 6f 53 74 6f |... . |set oSto|
|00004c50| 72 79 74 65 6c 6c 65 72 | 20 3d 20 62 69 72 74 68 |ryteller| = birth|
|00004c60| 28 20 73 63 72 69 70 74 | 20 22 63 53 74 6f 72 79 |( script| "cStory|
|00004c70| 74 65 6c 6c 65 72 22 29 | 20 2d 2d 69 6e 69 74 69 |teller")| --initi|
|00004c80| 61 6c 69 7a 65 64 20 77 | 69 74 68 20 65 6d 70 74 |alized w|ith empt|
|00004c90| 79 20 6c 73 53 74 61 74 | 65 44 61 74 61 20 6c 69 |y lsStat|eData li|
|00004ca0| 73 74 2e 2e 0d 20 20 73 | 65 74 20 6f 50 75 70 70 |st... s|et oPupp|
|00004cb0| 65 74 65 65 72 20 3d 20 | 62 69 72 74 68 28 20 73 |eteer = |birth( s|
|00004cc0| 63 72 69 70 74 20 22 63 | 50 75 70 70 65 74 65 65 |cript "c|Puppetee|
|00004cd0| 72 22 20 29 20 2d 2d 69 | 6e 69 74 69 61 6c 69 7a |r" ) --i|nitializ|
|00004ce0| 65 64 20 77 69 74 68 20 | 65 6d 70 74 79 20 6c 73 |ed with |empty ls|
|00004cf0| 4c 6f 63 61 74 69 6f 6e | 73 20 6c 69 73 74 2e 2e |Location|s list..|
|00004d00| 0d 20 20 2d 2d 20 20 69 | 66 20 74 68 65 20 6f 70 |. -- i|f the op|
|00004d10| 74 69 6f 6e 44 6f 77 6e | 20 74 68 65 6e 0d 20 20 |tionDown| then. |
|00004d20| 2d 2d 20 20 20 20 69 6e | 73 74 61 6c 6c 4d 65 6e |-- in|stallMen|
|00004d30| 75 28 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |u( the n|umber of|
|00004d40| 20 63 61 73 74 20 22 41 | 6d 62 65 72 20 6d 65 6e | cast "A|mber men|
|00004d50| 75 73 20 a5 54 45 53 54 | 49 4e 47 a5 22 20 29 0d |us .TEST|ING." ).|
|00004d60| 20 20 2d 2d 20 20 65 6c | 73 65 0d 20 20 2d 2d 20 | -- el|se. -- |
|00004d70| 20 20 20 69 6e 73 74 61 | 6c 6c 4d 65 6e 75 28 20 | insta|llMenu( |
|00004d80| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 61 |the numb|er of ca|
|00004d90| 73 74 20 22 41 6d 62 65 | 72 20 6d 65 6e 75 73 22 |st "Ambe|r menus"|
|00004da0| 20 29 0d 20 20 2d 2d 20 | 20 65 6e 64 20 69 66 0d | ). -- | end if.|
|00004db0| 20 20 2d 2d 20 20 69 66 | 20 74 68 65 20 6e 75 6d | -- if| the num|
|00004dc0| 62 65 72 20 6f 66 20 6d | 65 6e 75 73 20 3e 20 31 |ber of m|enus > 1|
|00004dd0| 20 74 68 65 6e 20 73 65 | 74 20 74 68 65 20 63 68 | then se|t the ch|
|00004de0| 65 63 6b 4d 61 72 6b 20 | 6f 66 20 6d 65 6e 75 49 |eckMark |of menuI|
|00004df0| 74 65 6d 20 28 20 38 20 | 2d 20 74 68 65 20 73 6f |tem ( 8 |- the so|
|00004e00| 75 6e 64 4c 65 76 65 6c | 20 29 20 6f 66 20 6d 65 |undLevel| ) of me|
|00004e10| 6e 75 20 32 20 74 6f 20 | 54 52 55 45 0d 20 20 0d |nu 2 to |TRUE. .|
|00004e20| 20 20 73 65 74 20 74 68 | 65 20 65 78 69 74 4c 6f | set th|e exitLo|
|00004e30| 63 6b 20 74 6f 20 54 52 | 55 45 0d 20 20 75 70 64 |ck to TR|UE. upd|
|00004e40| 61 74 65 53 74 61 67 65 | 0d 65 6e 64 0d 0d 0d 0d |ateStage|.end....|
|00004e50| 6f 6e 20 6c 69 73 74 48 | 44 73 6f 75 6e 64 73 20 |on listH|Dsounds |
|00004e60| 20 73 6e 64 50 61 74 68 | 0d 20 20 0d 20 20 2d 2d | sndPath|. . --|
|00004e70| 47 6f 20 74 6f 20 74 68 | 65 20 73 70 65 63 69 66 |Go to th|e specif|
|00004e80| 69 65 64 20 73 6f 75 6e | 64 2d 70 61 74 68 20 61 |ied soun|d-path a|
|00004e90| 6e 64 20 67 65 74 4e 74 | 68 46 69 6c 65 4e 61 6d |nd getNt|hFileNam|
|00004ea0| 65 49 6e 46 6f 6c 64 65 | 72 20 75 6e 74 69 6c 20 |eInFolde|r until |
|00004eb0| 69 74 27 73 20 65 6d 70 | 74 79 2e 2e 20 72 65 74 |it's emp|ty.. ret|
|00004ec0| 75 72 6e 20 74 68 65 6d | 20 69 6e 20 61 20 6c 69 |urn them| in a li|
|00004ed0| 73 74 0d 20 20 73 65 74 | 20 48 44 73 6f 75 6e 64 |st. set| HDsound|
|00004ee0| 73 20 3d 20 5b 5d 0d 20 | 20 72 65 70 65 61 74 20 |s = []. | repeat |
|00004ef0| 77 69 74 68 20 66 69 6c | 65 6e 75 6d 62 65 72 20 |with fil|enumber |
|00004f00| 3d 20 31 20 74 6f 20 31 | 30 30 30 0d 20 20 20 20 |= 1 to 1|000. |
|00004f10| 73 65 74 20 66 4e 61 6d | 65 20 3d 20 67 65 74 4e |set fNam|e = getN|
|00004f20| 74 68 46 69 6c 65 4e 61 | 6d 65 49 6e 46 6f 6c 64 |thFileNa|meInFold|
|00004f30| 65 72 28 20 73 6e 64 50 | 61 74 68 2c 20 66 69 6c |er( sndP|ath, fil|
|00004f40| 65 6e 75 6d 62 65 72 20 | 29 0d 20 20 20 20 69 66 |enumber |). if|
|00004f50| 20 66 4e 61 6d 65 20 3d | 20 45 4d 50 54 59 20 74 | fName =| EMPTY t|
|00004f60| 68 65 6e 0d 20 20 20 20 | 20 20 65 78 69 74 20 72 |hen. | exit r|
|00004f70| 65 70 65 61 74 0d 20 20 | 20 20 65 6c 73 65 0d 20 |epeat. | else. |
|00004f80| 20 20 20 20 20 61 64 64 | 20 48 44 73 6f 75 6e 64 | add| HDsound|
|00004f90| 73 2c 20 66 4e 61 6d 65 | 0d 20 20 20 20 65 6e 64 |s, fName|. end|
|00004fa0| 20 69 66 0d 20 20 65 6e | 64 20 72 65 70 65 61 74 | if. en|d repeat|
|00004fb0| 0d 20 20 0d 20 20 73 6f | 72 74 20 48 44 73 6f 75 |. . so|rt HDsou|
|00004fc0| 6e 64 73 20 20 20 2d 2d | 62 69 67 20 73 70 65 65 |nds --|big spee|
|00004fd0| 64 20 62 6f 6f 73 74 21 | 0d 20 20 2d 2d 20 73 65 |d boost!|. -- se|
|00004fe0| 74 20 67 48 44 73 6f 75 | 6e 64 73 20 3d 20 48 44 |t gHDsou|nds = HD|
|00004ff0| 73 6f 75 6e 64 73 0d 20 | 20 52 45 54 55 52 4e 20 |sounds. | RETURN |
|00005000| 48 44 73 6f 75 6e 64 73 | 0d 65 6e 64 20 6c 69 73 |HDsounds|.end lis|
|00005010| 74 48 44 73 6f 75 6e 64 | 73 0d 0d 0d 0d 0d 6f 6e |tHDsound|s.....on|
|00005020| 20 7a 7a 7a 7a 70 75 74 | 41 77 61 79 47 61 6d 65 | zzzzput|AwayGame|
|00005030| 0d 20 20 2d 2d 44 6f 65 | 73 20 74 68 69 73 20 68 |. --Doe|s this h|
|00005040| 61 70 70 65 6e 20 77 68 | 65 6e 20 72 65 73 74 6f |appen wh|en resto|
|00005050| 72 69 6e 67 20 61 20 73 | 61 76 65 64 20 67 61 6d |ring a s|aved gam|
|00005060| 65 3f 20 6f 72 20 6a 75 | 73 74 20 71 75 69 74 74 |e? or ju|st quitt|
|00005070| 69 6e 67 20 41 4d 42 45 | 52 20 61 6c 74 6f 67 65 |ing AMBE|R altoge|
|00005080| 74 68 65 72 2e 2e 2e 0d | 20 20 67 6c 6f 62 61 6c |ther....| global|
|00005090| 20 6f 53 74 6f 72 79 74 | 65 6c 6c 65 72 2c 20 6f | oStoryt|eller, o|
|000050a0| 50 75 70 70 65 74 65 65 | 72 0d 20 20 67 6c 6f 62 |Puppetee|r. glob|
|000050b0| 61 6c 20 6f 42 61 63 6b | 64 72 6f 70 20 20 20 20 |al oBack|drop |
|000050c0| 2d 2d 54 68 69 73 20 69 | 73 20 74 68 65 20 72 65 |--This i|s the re|
|000050d0| 61 72 2d 77 69 6e 64 6f | 77 20 58 6f 62 6a 65 63 |ar-windo|w Xobjec|
|000050e0| 74 2c 0d 20 20 67 6c 6f | 62 61 6c 20 6f 55 74 69 |t,. glo|bal oUti|
|000050f0| 6c 69 74 79 20 20 20 20 | 20 2d 2d 20 74 68 65 20 |lity | -- the |
|00005100| 6d 6f 76 69 65 55 74 69 | 6c 69 74 69 65 73 20 58 |movieUti|lities X|
|00005110| 4f 62 6a 65 63 74 2c 0d | 20 20 67 6c 6f 62 61 6c |Object,.| global|
|00005120| 20 6f 46 69 78 50 61 6c | 20 20 20 20 20 20 2d 2d | oFixPal| --|
|00005130| 20 74 68 65 20 46 69 78 | 50 61 6c 65 74 74 65 20 | the Fix|Palette |
|00005140| 58 4f 62 6a 65 63 74 2c | 0d 20 20 67 6c 6f 62 61 |XObject,|. globa|
|00005150| 6c 20 6f 4d 65 6d 6f 72 | 79 20 20 20 20 20 20 2d |l oMemor|y -|
|00005160| 2d 20 74 68 65 20 4d 65 | 6d 6f 72 79 20 58 4f 62 |- the Me|mory XOb|
|00005170| 6a 65 63 74 2c 0d 20 20 | 67 6c 6f 62 61 6c 20 63 |ject,. |global c|
|00005180| 6f 6c 6f 72 63 72 73 72 | 20 20 20 20 2d 2d 20 61 |olorcrsr| -- a|
|00005190| 6e 64 20 74 68 65 20 63 | 6f 6c 6f 72 2d 63 75 72 |nd the c|olor-cur|
|000051a0| 73 6f 72 20 58 4f 62 6a | 65 63 74 2e 0d 20 20 0d |sor XObj|ect.. .|
|000051b0| 20 20 50 55 54 20 22 65 | 78 65 63 75 74 69 6e 67 | PUT "e|xecuting|
|000051c0| 20 27 70 75 74 41 77 61 | 79 47 61 6d 65 27 2e 2e | 'putAwa|yGame'..|
|000051d0| 2e 22 0d 20 20 0d 20 20 | 69 66 20 6f 62 6a 65 63 |.". . |if objec|
|000051e0| 74 50 28 20 6f 42 61 63 | 6b 64 72 6f 70 20 29 20 |tP( oBac|kdrop ) |
|000051f0| 74 68 65 6e 0d 20 20 20 | 20 50 55 54 20 22 64 69 |then. | PUT "di|
|00005200| 73 70 6f 73 69 6e 67 20 | 6f 66 20 6f 42 61 63 6b |sposing |of oBack|
|00005210| 64 72 6f 70 3a 20 22 26 | 20 72 65 61 72 57 69 6e |drop: "&| rearWin|
|00005220| 64 6f 77 28 6d 45 72 72 | 6f 72 2c 20 6f 42 61 63 |dow(mErr|or, oBac|
|00005230| 6b 64 72 6f 70 28 20 6d | 44 69 73 70 6f 73 65 20 |kdrop( m|Dispose |
|00005240| 29 20 29 0d 20 20 65 6e | 64 20 69 66 0d 20 20 0d |) ). en|d if. .|
|00005250| 20 20 69 66 20 6f 62 6a | 65 63 74 50 28 20 74 68 | if obj|ectP( th|
|00005260| 65 20 63 75 72 72 65 6e | 74 47 61 6d 65 46 69 6c |e curren|tGameFil|
|00005270| 65 20 6f 66 20 6f 53 74 | 6f 72 79 74 65 6c 6c 65 |e of oSt|orytelle|
|00005280| 72 20 29 20 74 68 65 6e | 0d 20 20 20 20 50 55 54 |r ) then|. PUT|
|00005290| 20 22 79 75 70 2c 20 63 | 75 72 72 65 6e 74 47 61 | "yup, c|urrentGa|
|000052a0| 6d 65 46 69 6c 65 20 69 | 73 20 61 6e 20 6f 62 6a |meFile i|s an obj|
|000052b0| 65 63 74 22 0d 20 20 20 | 20 70 75 74 20 74 68 65 |ect". | put the|
|000052c0| 20 63 75 72 72 65 6e 74 | 47 61 6d 65 46 69 6c 65 | current|GameFile|
|000052d0| 20 6f 66 20 6f 53 74 6f | 72 79 74 65 6c 6c 65 72 | of oSto|ryteller|
|000052e0| 20 69 6e 74 6f 20 6f 46 | 69 6c 65 0d 20 20 20 20 | into oF|ile. |
|000052f0| 50 55 54 20 22 6f 46 69 | 6c 65 20 3d 20 22 26 20 |PUT "oFi|le = "& |
|00005300| 6f 46 69 6c 65 0d 20 20 | 20 20 50 55 54 20 22 64 |oFile. | PUT "d|
|00005310| 69 73 70 6f 73 69 6e 67 | 20 6f 66 20 6f 46 69 6c |isposing| of oFil|
|00005320| 65 3a 20 22 26 20 66 69 | 6c 65 69 6f 28 20 6d 45 |e: "& fi|leio( mE|
|00005330| 72 72 6f 72 2c 20 6f 46 | 69 6c 65 28 20 6d 44 69 |rror, oF|ile( mDi|
|00005340| 73 70 6f 73 65 20 29 20 | 29 0d 20 20 65 6e 64 20 |spose ) |). end |
|00005350| 69 66 0d 20 20 0d 20 20 | 69 66 20 6f 62 6a 65 63 |if. . |if objec|
|00005360| 74 50 28 20 6f 55 74 69 | 6c 69 74 79 20 29 20 74 |tP( oUti|lity ) t|
|00005370| 68 65 6e 0d 20 20 20 20 | 50 55 54 20 22 79 75 70 |hen. |PUT "yup|
|00005380| 2c 20 6f 55 74 69 6c 69 | 74 79 20 69 73 20 61 6e |, oUtili|ty is an|
|00005390| 20 6f 62 6a 65 63 74 22 | 0d 20 20 20 20 50 55 54 | object"|. PUT|
|000053a0| 20 22 6f 55 74 69 6c 69 | 74 79 20 3d 20 22 26 20 | "oUtili|ty = "& |
|000053b0| 6f 55 74 69 6c 69 74 79 | 0d 20 20 20 20 50 55 54 |oUtility|. PUT|
|000053c0| 20 22 64 69 73 70 6f 73 | 69 6e 67 20 6f 66 20 6f | "dispos|ing of o|
|000053d0| 55 74 69 6c 69 74 79 3a | 20 22 26 20 6d 6f 76 69 |Utility:| "& movi|
|000053e0| 65 55 74 69 6c 69 74 69 | 65 73 28 20 6d 45 72 72 |eUtiliti|es( mErr|
|000053f0| 6f 72 2c 20 6f 55 74 69 | 6c 69 74 79 28 20 6d 44 |or, oUti|lity( mD|
|00005400| 69 73 70 6f 73 65 20 29 | 20 29 0d 20 20 65 6e 64 |ispose )| ). end|
|00005410| 20 69 66 0d 20 20 0d 20 | 20 69 66 20 6f 62 6a 65 | if. . | if obje|
|00005420| 63 74 50 28 20 6f 46 69 | 78 50 61 6c 20 29 20 74 |ctP( oFi|xPal ) t|
|00005430| 68 65 6e 0d 20 20 20 20 | 50 55 54 20 22 79 75 70 |hen. |PUT "yup|
|00005440| 2c 20 6f 46 69 78 50 61 | 6c 20 69 73 20 61 6e 20 |, oFixPa|l is an |
|00005450| 6f 62 6a 65 63 74 22 0d | 20 20 20 20 50 55 54 20 |object".| PUT |
|00005460| 22 6f 46 69 78 50 61 6c | 20 3d 20 22 26 20 6f 46 |"oFixPal| = "& oF|
|00005470| 69 78 50 61 6c 0d 20 20 | 20 20 50 55 54 20 22 64 |ixPal. | PUT "d|
|00005480| 69 73 70 6f 73 69 6e 67 | 20 6f 66 20 6f 46 69 78 |isposing| of oFix|
|00005490| 50 61 6c 3a 20 22 26 20 | 46 69 78 50 61 6c 65 74 |Pal: "& |FixPalet|
|000054a0| 74 65 28 20 6d 45 72 72 | 6f 72 2c 20 6f 46 69 78 |te( mErr|or, oFix|
|000054b0| 50 61 6c 28 20 6d 44 69 | 73 70 6f 73 65 20 29 20 |Pal( mDi|spose ) |
|000054c0| 29 0d 20 20 65 6e 64 20 | 69 66 0d 20 20 0d 20 20 |). end |if. . |
|000054d0| 69 66 20 6f 62 6a 65 63 | 74 50 28 20 63 6f 6c 6f |if objec|tP( colo|
|000054e0| 72 63 72 73 72 20 29 20 | 74 68 65 6e 0d 20 20 20 |rcrsr ) |then. |
|000054f0| 20 50 55 54 20 22 79 75 | 70 2c 20 63 6f 6c 6f 72 | PUT "yu|p, color|
|00005500| 63 72 73 72 20 69 73 20 | 61 6e 20 6f 62 6a 65 63 |crsr is |an objec|
|00005510| 74 22 0d 20 20 20 20 50 | 55 54 20 22 63 6f 6c 6f |t". P|UT "colo|
|00005520| 72 63 72 73 72 20 3d 20 | 22 26 20 63 6f 6c 6f 72 |rcrsr = |"& color|
|00005530| 63 72 73 72 0d 20 20 20 | 20 50 55 54 20 22 64 69 |crsr. | PUT "di|
|00005540| 73 70 6f 73 69 6e 67 20 | 6f 66 20 63 6f 6c 6f 72 |sposing |of color|
|00005550| 63 72 73 72 3a 20 22 26 | 20 63 6f 6c 6f 72 63 75 |crsr: "&| colorcu|
|00005560| 72 73 6f 72 28 20 6d 45 | 72 72 6f 72 2c 20 63 6f |rsor( mE|rror, co|
|00005570| 6c 6f 72 63 72 73 72 28 | 20 6d 44 69 73 70 6f 73 |lorcrsr(| mDispos|
|00005580| 65 20 29 20 29 0d 20 20 | 65 6e 64 20 69 66 0d 20 |e ) ). |end if. |
|00005590| 20 0d 20 20 69 66 20 6f | 62 6a 65 63 74 50 28 20 | . if o|bjectP( |
|000055a0| 6f 4d 65 6d 6f 72 79 20 | 29 20 74 68 65 6e 0d 20 |oMemory |) then. |
|000055b0| 20 20 20 50 55 54 20 22 | 79 75 70 2c 20 6f 4d 65 | PUT "|yup, oMe|
|000055c0| 6d 6f 72 79 20 69 73 20 | 61 6e 20 6f 62 6a 65 63 |mory is |an objec|
|000055d0| 74 22 0d 20 20 20 20 50 | 55 54 20 22 64 69 73 70 |t". P|UT "disp|
|000055e0| 6f 73 69 6e 67 20 6f 66 | 20 6f 4d 65 6d 6f 72 79 |osing of| oMemory|
|000055f0| 3a 20 22 26 20 6f 4d 65 | 6d 6f 72 79 28 20 6d 44 |: "& oMe|mory( mD|
|00005600| 69 73 70 6f 73 65 20 29 | 0d 20 20 65 6e 64 20 69 |ispose )|. end i|
|00005610| 66 0d 20 20 0d 20 20 70 | 75 74 20 30 20 69 6e 74 |f. . p|ut 0 int|
|00005620| 6f 20 6f 53 74 6f 72 79 | 74 65 6c 6c 65 72 0d 20 |o oStory|teller. |
|00005630| 20 70 75 74 20 30 20 69 | 6e 74 6f 20 6f 50 75 70 | put 0 i|nto oPup|
|00005640| 70 65 74 65 65 72 0d 20 | 20 2d 2d 73 68 75 74 20 |peteer. | --shut |
|00005650| 6f 66 66 20 61 6c 6c 20 | 70 75 70 70 65 74 2d 73 |off all |puppet-s|
|00005660| 70 72 69 74 65 73 3f 3f | 20 4f 68 2c 20 74 68 69 |prites??| Oh, thi|
|00005670| 73 20 77 69 6c 6c 20 68 | 61 70 70 65 6e 20 62 79 |s will h|appen by|
|00005680| 20 72 65 74 75 72 6e 69 | 6e 67 20 74 6f 20 6c 61 | returni|ng to la|
|00005690| 75 6e 63 68 2d 6d 6f 76 | 69 65 2e 2e 0d 20 20 2d |unch-mov|ie... -|
|000056a0| 2d 64 65 73 74 72 6f 79 | 20 58 4f 62 6a 65 63 74 |-destroy| XObject|
|000056b0| 73 21 21 20 74 6f 20 72 | 65 6c 65 61 73 65 20 6d |s!! to r|elease m|
|000056c0| 65 6d 6f 72 79 2e 2e 2e | 20 0d 20 20 63 6c 6f 73 |emory...| . clos|
|000056d0| 65 58 6c 69 62 20 20 20 | 2d 2d 20 22 41 4d 42 45 |eXlib |-- "AMBE|
|000056e0| 52 20 72 65 73 6f 75 72 | 63 65 73 22 0d 20 20 63 |R resour|ces". c|
|000056f0| 6c 6f 73 65 52 65 73 46 | 69 6c 65 20 20 20 2d 2d |loseResF|ile --|
|00005700| 20 22 69 6e 65 72 74 69 | 61 20 63 75 72 73 6f 72 | "inerti|a cursor|
|00005710| 73 22 0d 20 20 50 55 54 | 20 22 54 48 41 54 27 53 |s". PUT| "THAT'S|
|00005720| 20 41 4c 4c 2c 20 46 4f | 4c 4b 53 21 22 0d 20 20 | ALL, FO|LKS!". |
|00005730| 2d 2d 20 20 64 65 6c 61 | 79 20 31 32 30 0d 20 20 |-- dela|y 120. |
|00005740| 51 55 49 54 0d 65 6e 64 | 20 70 75 74 41 77 61 79 |QUIT.end| putAway|
|00005750| 47 61 6d 65 0d 0d 0d 0d | 6f 6e 20 72 65 63 6b 6f |Game....|on recko|
|00005760| 6e 47 61 6d 6d 61 0d 20 | 20 2d 2d 62 61 73 65 64 |nGamma. | --based|
|00005770| 20 6f 6e 20 76 61 6c 75 | 65 20 31 32 38 20 69 6e | on valu|e 128 in|
|00005780| 20 74 61 62 6c 65 20 28 | 77 68 65 72 65 58 20 3d | table (|whereX =|
|00005790| 20 31 32 37 29 2c 20 74 | 72 79 20 74 6f 20 72 65 | 127), t|ry to re|
|000057a0| 63 6b 6f 6e 20 74 68 65 | 20 67 61 6d 6d 61 20 62 |ckon the| gamma b|
|000057b0| 65 69 6e 67 0d 20 20 2d | 2d 20 61 70 70 6c 69 65 |eing. -|- applie|
|000057c0| 64 20 6f 6e 20 74 68 65 | 20 75 73 65 72 27 73 20 |d on the| user's |
|000057d0| 64 69 73 70 6c 61 79 2e | 2e 0d 20 20 2d 2d 46 4f |display.|.. --FO|
|000057e0| 52 4d 55 4c 41 3a 20 20 | 79 2f 32 35 35 2e 30 20 |RMULA: |y/255.0 |
|000057f0| 3d 20 78 2f 32 35 35 2e | 30 20 74 6f 20 74 68 65 |= x/255.|0 to the|
|00005800| 20 22 67 61 6d 6d 61 2d | 74 68 22 20 70 6f 77 65 | "gamma-|th" powe|
|00005810| 72 0d 20 20 2d 2d 57 65 | 27 6c 6c 20 73 74 61 72 |r. --We|'ll star|
|00005820| 74 20 77 69 74 68 20 61 | 20 6c 69 6b 65 6c 79 20 |t with a| likely |
|00005830| 76 61 6c 75 65 2c 20 61 | 6e 64 20 6b 65 65 70 20 |value, a|nd keep |
|00005840| 74 72 79 69 6e 67 20 65 | 78 70 6f 6e 65 6e 74 73 |trying e|xponents|
|00005850| 20 27 74 69 6c 20 77 65 | 27 72 65 20 70 72 65 74 | 'til we|'re pret|
|00005860| 74 79 20 63 6c 6f 73 65 | 0d 20 20 0d 20 20 73 65 |ty close|. . se|
|00005870| 74 20 59 5f 31 32 37 20 | 3d 20 67 65 74 41 74 28 |t Y_127 |= getAt(|
|00005880| 20 67 65 74 47 61 6d 6d | 61 54 61 62 6c 65 28 29 | getGamm|aTable()|
|00005890| 2c 20 31 32 38 20 29 0d | 20 20 2d 2d 20 20 50 55 |, 128 ).| -- PU|
|000058a0| 54 20 22 59 5f 31 32 37 | 20 3d 20 22 26 20 59 5f |T "Y_127| = "& Y_|
|000058b0| 31 32 37 0d 20 20 73 65 | 74 20 74 65 73 74 47 20 |127. se|t testG |
|000058c0| 3d 20 31 2e 30 0d 20 20 | 73 65 74 20 74 68 65 4e |= 1.0. |set theN|
|000058d0| 75 64 67 65 20 3d 20 23 | 6e 6f 6e 65 20 20 2d 2d |udge = #|none --|
|000058e0| 74 6f 20 6b 65 65 70 20 | 74 72 61 63 6b 20 6f 66 |to keep |track of|
|000058f0| 20 23 68 69 67 68 65 72 | 2c 20 23 6c 6f 77 65 72 | #higher|, #lower|
|00005900| 0d 20 20 73 65 74 20 6c | 61 73 74 44 69 66 66 65 |. set l|astDiffe|
|00005910| 72 65 6e 63 65 20 3d 20 | 74 68 65 20 6d 61 78 49 |rence = |the maxI|
|00005920| 6e 74 65 67 65 72 0d 20 | 20 0d 20 20 72 65 70 65 |nteger. | . repe|
|00005930| 61 74 20 77 68 69 6c 65 | 20 6e 6f 74 28 20 74 68 |at while| not( th|
|00005940| 65 20 6d 6f 75 73 65 44 | 6f 77 6e 20 29 0d 20 20 |e mouseD|own ). |
|00005950| 20 20 2d 2d 20 20 20 20 | 50 55 54 20 22 74 65 73 | -- |PUT "tes|
|00005960| 74 47 20 3d 20 22 26 20 | 74 65 73 74 47 0d 20 20 |tG = "& |testG. |
|00005970| 20 20 2d 2d 4e 6f 77 20 | 74 65 73 74 20 66 6f 72 | --Now |test for|
|00005980| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 58 20 | the val|ue of X |
|00005990| 28 73 68 6f 75 6c 64 20 | 62 65 20 31 32 37 29 20 |(should |be 127) |
|000059a0| 77 69 74 68 20 6f 75 72 | 20 67 61 6d 6d 61 2d 67 |with our| gamma-g|
|000059b0| 75 65 73 73 20 28 74 65 | 73 74 47 29 2e 2e 0d 20 |uess (te|stG)... |
|000059c0| 20 20 20 73 65 74 20 59 | 5f 73 69 64 65 20 3d 20 | set Y|_side = |
|000059d0| 28 59 5f 31 32 37 20 2f | 20 32 35 35 2e 30 29 20 |(Y_127 /| 255.0) |
|000059e0| 0d 20 20 20 20 2d 2d 20 | 20 20 20 50 55 54 20 22 |. -- | PUT "|
|000059f0| 59 5f 73 69 64 65 20 3d | 20 22 26 20 59 5f 73 69 |Y_side =| "& Y_si|
|00005a00| 64 65 0d 20 20 20 20 73 | 65 74 20 58 5f 73 69 64 |de. s|et X_sid|
|00005a10| 65 20 3d 20 70 6f 77 65 | 72 28 20 28 31 32 37 2e |e = powe|r( (127.|
|00005a20| 30 20 2f 20 32 35 35 2e | 30 29 2c 20 74 65 73 74 |0 / 255.|0), test|
|00005a30| 47 20 29 0d 20 20 20 20 | 2d 2d 20 20 20 20 50 55 |G ). |-- PU|
|00005a40| 54 20 22 58 5f 73 69 64 | 65 20 3d 20 22 26 20 58 |T "X_sid|e = "& X|
|00005a50| 5f 73 69 64 65 0d 20 20 | 20 20 0d 20 20 20 20 2d |_side. | . -|
|00005a60| 2d 2e 2e 61 6e 64 20 61 | 64 6a 75 73 74 20 75 6e |-..and a|djust un|
|00005a70| 74 69 6c 20 69 74 20 67 | 65 74 73 20 70 72 65 74 |til it g|ets pret|
|00005a80| 74 79 20 61 63 63 75 72 | 61 74 65 0d 20 20 20 20 |ty accur|ate. |
|00005a90| 69 66 20 59 5f 73 69 64 | 65 20 3d 20 58 5f 73 69 |if Y_sid|e = X_si|
|00005aa0| 64 65 20 74 68 65 6e 0d | 20 20 20 20 20 20 2d 2d |de then.| --|
|00005ab0| 20 20 20 20 20 20 50 55 | 54 20 22 57 4f 57 21 20 | PU|T "WOW! |
|00005ac0| 49 74 27 73 20 65 78 61 | 63 74 6c 79 20 22 26 20 |It's exa|ctly "& |
|00005ad0| 74 65 73 74 47 0d 20 20 | 20 20 20 20 65 78 69 74 |testG. | exit|
|00005ae0| 20 72 65 70 65 61 74 0d | 20 20 20 20 65 6e 64 20 | repeat.| end |
|00005af0| 69 66 0d 20 20 20 20 0d | 20 20 20 20 2d 2d 4e 6f |if. .| --No|
|00005b00| 74 20 79 65 74 2c 20 6b | 65 65 70 20 6f 6e 20 74 |t yet, k|eep on t|
|00005b10| 77 65 61 6b 69 6e 67 2e | 2e 0d 20 20 20 20 73 65 |weaking.|.. se|
|00005b20| 74 20 6c 61 73 74 47 20 | 3d 20 74 65 73 74 47 20 |t lastG |= testG |
|00005b30| 20 2d 2d 73 74 61 73 68 | 20 70 72 65 76 69 6f 75 | --stash| previou|
|00005b40| 73 20 76 61 6c 75 65 0d | 20 20 20 20 0d 20 20 20 |s value.| . |
|00005b50| 20 69 66 20 59 5f 73 69 | 64 65 20 3e 20 58 5f 73 | if Y_si|de > X_s|
|00005b60| 69 64 65 20 74 68 65 6e | 0d 20 20 20 20 20 20 69 |ide then|. i|
|00005b70| 66 20 74 68 65 4e 75 64 | 67 65 20 3d 20 23 68 69 |f theNud|ge = #hi|
|00005b80| 67 68 65 72 20 74 68 65 | 6e 0d 20 20 20 20 20 20 |gher the|n. |
|00005b90| 20 20 2d 2d 74 65 73 74 | 20 77 68 69 63 68 20 6f | --test| which o|
|00005ba0| 66 20 6c 61 73 74 20 74 | 77 6f 20 61 74 74 65 6d |f last t|wo attem|
|00005bb0| 70 74 73 20 77 61 73 20 | 63 6c 6f 73 65 72 0d 20 |pts was |closer. |
|00005bc0| 20 20 20 20 20 20 20 73 | 65 74 20 6e 65 77 44 69 | s|et newDi|
|00005bd0| 66 66 65 72 65 6e 63 65 | 20 3d 20 59 5f 73 69 64 |fference| = Y_sid|
|00005be0| 65 20 2d 20 58 5f 73 69 | 64 65 0d 20 20 20 20 20 |e - X_si|de. |
|00005bf0| 20 20 20 2d 2d 20 20 20 | 20 20 20 20 20 50 55 54 | -- | PUT|
|00005c00| 20 22 6e 65 77 44 69 66 | 66 65 72 65 6e 63 65 20 | "newDif|ference |
|00005c10| 3d 20 22 26 20 6e 65 77 | 44 69 66 66 65 72 65 6e |= "& new|Differen|
|00005c20| 63 65 0d 20 20 20 20 20 | 20 20 20 2d 2d 20 20 20 |ce. | -- |
|00005c30| 20 20 20 20 20 50 55 54 | 20 22 6c 61 73 74 44 69 | PUT| "lastDi|
|00005c40| 66 66 65 72 65 6e 63 65 | 20 3d 20 22 26 20 6c 61 |fference| = "& la|
|00005c50| 73 74 44 69 66 66 65 72 | 65 6e 63 65 0d 20 20 20 |stDiffer|ence. |
|00005c60| 20 20 20 20 20 69 66 20 | 61 62 73 28 6e 65 77 44 | if |abs(newD|
|00005c70| 69 66 66 65 72 65 6e 63 | 65 29 20 3e 20 61 62 73 |ifferenc|e) > abs|
|00005c80| 28 6c 61 73 74 44 69 66 | 66 65 72 65 6e 63 65 29 |(lastDif|ference)|
|00005c90| 20 74 68 65 6e 0d 20 20 | 20 20 20 20 20 20 20 20 | then. | |
|00005ca0| 2d 2d 72 65 76 65 72 74 | 20 74 6f 20 6c 61 73 74 |--revert| to last|
|00005cb0| 20 61 74 74 65 6d 70 74 | 0d 20 20 20 20 20 20 20 | attempt|. |
|00005cc0| 20 20 20 73 65 74 20 74 | 65 73 74 47 20 3d 20 74 | set t|estG = t|
|00005cd0| 65 73 74 47 20 2d 20 30 | 2e 31 0d 20 20 20 20 20 |estG - 0|.1. |
|00005ce0| 20 20 20 20 20 2d 2d 20 | 20 20 20 20 20 20 20 20 | -- | |
|00005cf0| 20 50 55 54 20 22 72 65 | 76 65 72 74 69 6e 67 20 | PUT "re|verting |
|00005d00| 74 6f 20 22 26 20 74 65 | 73 74 47 0d 20 20 20 20 |to "& te|stG. |
|00005d10| 20 20 20 20 65 6e 64 20 | 69 66 0d 20 20 20 20 20 | end |if. |
|00005d20| 20 20 20 65 78 69 74 20 | 72 65 70 65 61 74 0d 20 | exit |repeat. |
|00005d30| 20 20 20 20 20 65 6e 64 | 20 69 66 0d 20 20 20 20 | end| if. |
|00005d40| 20 20 0d 20 20 20 20 20 | 20 73 65 74 20 6c 61 73 | . | set las|
|00005d50| 74 44 69 66 66 65 72 65 | 6e 63 65 20 3d 20 59 5f |tDiffere|nce = Y_|
|00005d60| 73 69 64 65 20 2d 20 58 | 5f 73 69 64 65 0d 20 20 |side - X|_side. |
|00005d70| 20 20 20 20 73 65 74 20 | 74 65 73 74 47 20 3d 20 | set |testG = |
|00005d80| 74 65 73 74 47 20 2d 20 | 30 2e 31 0d 20 20 20 20 |testG - |0.1. |
|00005d90| 20 20 73 65 74 20 74 68 | 65 4e 75 64 67 65 20 3d | set th|eNudge =|
|00005da0| 20 23 6c 6f 77 65 72 0d | 20 20 20 20 20 20 0d 20 | #lower.| . |
|00005db0| 20 20 20 65 6c 73 65 20 | 20 2d 2d 69 2e 65 2e 20 | else | --i.e. |
|00005dc0| 58 5f 73 69 64 65 20 3e | 20 59 5f 73 69 64 65 0d |X_side >| Y_side.|
|00005dd0| 20 20 20 20 20 20 69 66 | 20 74 68 65 4e 75 64 67 | if| theNudg|
|00005de0| 65 20 3d 20 23 6c 6f 77 | 65 72 20 74 68 65 6e 0d |e = #low|er then.|
|00005df0| 20 20 20 20 20 20 20 20 | 2d 2d 74 65 73 74 20 77 | |--test w|
|00005e00| 68 69 63 68 20 6f 66 20 | 6c 61 73 74 20 74 77 6f |hich of |last two|
|00005e10| 20 61 74 74 65 6d 70 74 | 73 20 77 61 73 20 63 6c | attempt|s was cl|
|00005e20| 6f 73 65 72 0d 20 20 20 | 20 20 20 20 20 73 65 74 |oser. | set|
|00005e30| 20 6e 65 77 44 69 66 66 | 65 72 65 6e 63 65 20 3d | newDiff|erence =|
|00005e40| 20 59 5f 73 69 64 65 20 | 2d 20 58 5f 73 69 64 65 | Y_side |- X_side|
|00005e50| 0d 20 20 20 20 20 20 20 | 20 2d 2d 20 20 20 20 20 |. | -- |
|00005e60| 20 20 20 50 55 54 20 22 | 6e 65 77 44 69 66 66 65 | PUT "|newDiffe|
|00005e70| 72 65 6e 63 65 20 3d 20 | 22 26 20 6e 65 77 44 69 |rence = |"& newDi|
|00005e80| 66 66 65 72 65 6e 63 65 | 0d 20 20 20 20 20 20 20 |fference|. |
|00005e90| 20 2d 2d 20 20 20 20 20 | 20 20 20 50 55 54 20 22 | -- | PUT "|
|00005ea0| 6c 61 73 74 44 69 66 66 | 65 72 65 6e 63 65 20 3d |lastDiff|erence =|
|00005eb0| 20 22 26 20 6c 61 73 74 | 44 69 66 66 65 72 65 6e | "& last|Differen|
|00005ec0| 63 65 0d 20 20 20 20 20 | 20 20 20 69 66 20 61 62 |ce. | if ab|
|00005ed0| 73 28 6e 65 77 44 69 66 | 66 65 72 65 6e 63 65 29 |s(newDif|ference)|
|00005ee0| 20 3e 20 61 62 73 28 6c | 61 73 74 44 69 66 66 65 | > abs(l|astDiffe|
|00005ef0| 72 65 6e 63 65 29 20 74 | 68 65 6e 0d 20 20 20 20 |rence) t|hen. |
|00005f00| 20 20 20 20 20 20 2d 2d | 72 65 76 65 72 74 20 74 | --|revert t|
|00005f10| 6f 20 6c 61 73 74 20 61 | 74 74 65 6d 70 74 0d 20 |o last a|ttempt. |
|00005f20| 20 20 20 20 20 20 20 20 | 20 73 65 74 20 74 65 73 | | set tes|
|00005f30| 74 47 20 3d 20 74 65 73 | 74 47 20 2b 20 30 2e 31 |tG = tes|tG + 0.1|
|00005f40| 0d 20 20 20 20 20 20 20 | 20 20 20 2d 2d 20 20 20 |. | -- |
|00005f50| 20 20 20 20 20 20 20 50 | 55 54 20 22 72 65 76 65 | P|UT "reve|
|00005f60| 72 74 69 6e 67 20 74 6f | 20 22 26 20 74 65 73 74 |rting to| "& test|
|00005f70| 47 0d 20 20 20 20 20 20 | 20 20 65 6e 64 20 69 66 |G. | end if|
|00005f80| 0d 20 20 20 20 20 20 20 | 20 65 78 69 74 20 72 65 |. | exit re|
|00005f90| 70 65 61 74 0d 20 20 20 | 20 20 20 65 6e 64 20 69 |peat. | end i|
|00005fa0| 66 0d 20 20 20 20 20 20 | 0d 20 20 20 20 20 20 73 |f. |. s|
|00005fb0| 65 74 20 6c 61 73 74 44 | 69 66 66 65 72 65 6e 63 |et lastD|ifferenc|
|00005fc0| 65 20 3d 20 58 5f 73 69 | 64 65 20 2d 20 59 5f 73 |e = X_si|de - Y_s|
|00005fd0| 69 64 65 0d 20 20 20 20 | 20 20 73 65 74 20 74 65 |ide. | set te|
|00005fe0| 73 74 47 20 3d 20 74 65 | 73 74 47 20 2b 20 30 2e |stG = te|stG + 0.|
|00005ff0| 31 0d 20 20 20 20 20 20 | 73 65 74 20 74 68 65 4e |1. |set theN|
|00006000| 75 64 67 65 20 3d 20 23 | 68 69 67 68 65 72 0d 20 |udge = #|higher. |
|00006010| 20 20 20 65 6e 64 20 69 | 66 0d 20 20 20 20 0d 20 | end i|f. . |
|00006020| 20 65 6e 64 20 72 65 70 | 65 61 74 0d 20 20 2d 2d | end rep|eat. --|
|00006030| 20 20 50 55 54 20 22 57 | 65 6c 6c 2c 20 69 74 20 | PUT "W|ell, it |
|00006040| 6c 6f 6f 6b 73 20 22 26 | 20 74 65 73 74 47 20 26 |looks "&| testG &|
|00006050| 22 20 69 73 20 61 73 20 | 63 6c 6f 73 65 20 61 73 |" is as |close as|
|00006060| 20 49 20 63 61 6e 20 63 | 6f 6d 65 2e 22 0d 20 20 | I can c|ome.". |
|00006070| 72 65 74 75 72 6e 20 74 | 65 73 74 47 0d 20 20 0d |return t|estG. .|
|00006080| 65 6e 64 20 72 65 63 6b | 6f 6e 47 61 6d 6d 61 0d |end reck|onGamma.|
|00006090| 0d 0d 0d 6f 6e 20 67 65 | 74 47 61 6d 6d 61 54 61 |...on ge|tGammaTa|
|000060a0| 62 6c 65 0d 20 20 67 6c | 6f 62 61 6c 20 6f 47 61 |ble. gl|obal oGa|
|000060b0| 6d 6d 61 2c 20 67 4d 61 | 69 6e 53 63 72 65 65 6e |mma, gMa|inScreen|
|000060c0| 2c 67 47 61 6d 6d 61 53 | 69 7a 65 0d 20 20 0d 20 |,gGammaS|ize. . |
|000060d0| 20 69 66 20 6e 6f 74 20 | 6f 62 6a 65 63 74 50 28 | if not |objectP(|
|000060e0| 20 6f 47 61 6d 6d 61 20 | 29 20 74 68 65 6e 20 0d | oGamma |) then .|
|000060f0| 20 20 20 20 50 55 54 20 | 22 3c 21 3e 20 20 53 6f | PUT |"<!> So|
|00006100| 72 72 79 2c 20 74 68 65 | 20 6f 47 61 6d 6d 61 20 |rry, the| oGamma |
|00006110| 6f 62 6a 65 63 74 20 64 | 6f 65 73 6e 27 74 20 65 |object d|oesn't e|
|00006120| 78 69 73 74 20 79 65 74 | 2e 2e 22 0d 20 20 20 20 |xist yet|..". |
|00006130| 45 58 49 54 0d 20 20 65 | 6c 73 65 0d 20 20 20 20 |EXIT. e|lse. |
|00006140| 2d 2d 20 20 20 20 50 55 | 54 20 22 67 4d 61 69 6e |-- PU|T "gMain|
|00006150| 53 63 72 65 65 6e 20 3d | 20 22 26 20 67 4d 61 69 |Screen =| "& gMai|
|00006160| 6e 53 63 72 65 65 6e 0d | 20 20 20 20 2d 2d 20 20 |nScreen.| -- |
|00006170| 20 20 50 55 54 20 22 67 | 47 61 6d 6d 61 53 69 7a | PUT "g|GammaSiz|
|00006180| 65 20 3d 20 22 26 20 67 | 47 61 6d 6d 61 53 69 7a |e = "& g|GammaSiz|
|00006190| 65 0d 20 20 65 6e 64 20 | 69 66 0d 20 20 0d 20 20 |e. end |if. . |
|000061a0| 73 65 74 20 72 65 61 64 | 4c 69 73 74 20 3d 20 5b |set read|List = [|
|000061b0| 5d 0d 20 20 72 65 70 65 | 61 74 20 77 69 74 68 20 |]. repe|at with |
|000061c0| 69 20 3d 20 31 20 74 6f | 20 67 47 61 6d 6d 61 53 |i = 1 to| gGammaS|
|000061d0| 69 7a 65 0d 20 20 20 20 | 73 65 74 20 6d 79 45 6e |ize. |set myEn|
|000061e0| 74 72 79 20 3d 20 6f 47 | 61 6d 6d 61 28 20 6d 52 |try = oG|amma( mR|
|000061f0| 65 61 64 47 61 6d 6d 61 | 54 61 62 6c 65 2c 20 31 |eadGamma|Table, 1|
|00006200| 2c 20 69 20 29 0d 20 20 | 20 20 61 70 70 65 6e 64 |, i ). | append|
|00006210| 28 20 72 65 61 64 4c 69 | 73 74 2c 20 6d 79 45 6e |( readLi|st, myEn|
|00006220| 74 72 79 20 29 0d 20 20 | 65 6e 64 20 72 65 70 65 |try ). |end repe|
|00006230| 61 74 0d 20 20 0d 20 20 | 72 65 74 75 72 6e 20 72 |at. . |return r|
|00006240| 65 61 64 4c 69 73 74 0d | 20 20 0d 65 6e 64 20 67 |eadList.| .end g|
|00006250| 61 6d 6d 61 52 65 61 64 | 0d 0d 0d 16 73 65 74 55 |ammaRead|....setU|
|00006260| 70 47 61 6d 65 2c 20 70 | 75 74 41 77 61 79 47 61 |pGame, p|utAwayGa|
|00006270| 6d 65 00 24 00 00 02 e7 | 02 88 00 00 00 00 00 00 |me.$....|........|
|00006280| 00 00 00 37 28 90 00 32 | 00 00 00 00 00 0c 00 0a |...7(..2|........|
|00006290| 00 03 00 00 00 09 ff ff | ff ff ff ff 00 00 06 e1 |........|........|
|000062a0| 00 0c 00 0a 00 03 01 00 | 00 09 ff ff ff ff ff ff |........|........|
|000062b0| 00 00 06 ec 00 0c 00 0a | 00 03 00 00 00 09 ff ff |........|........|
|000062c0| ff ff ff ff 00 00 07 62 | 00 0c 00 0a 00 03 01 00 |.......b|........|
|000062d0| 00 09 ff ff ff ff ff ff | 00 00 07 6e 00 0c 00 0a |........|...n....|
|000062e0| 00 03 00 00 00 09 ff ff | ff ff ff ff 00 00 07 d8 |........|........|
|000062f0| 00 0c 00 0a 00 03 01 00 | 00 09 ff ff ff ff ff ff |........|........|
|00006300| 00 00 08 5d 00 0c 00 0a | 00 03 00 00 00 09 ff ff |...]....|........|
|00006310| ff ff ff ff 00 00 08 cd | 00 0c 00 0a 00 03 01 00 |........|........|
|00006320| 00 09 ff ff ff ff ff ff | 00 00 09 17 00 0c 00 0a |........|........|
|00006330| 00 03 00 00 00 09 ff ff | ff ff ff ff 00 00 0a 0c |........|........|
|00006340| 00 0c 00 0a 00 03 01 00 | 00 09 ff ff ff ff ff ff |........|........|
|00006350| 00 00 0a 2b 00 0c 00 0a | 00 03 00 00 00 09 ff ff |...+....|........|
|00006360| ff ff ff ff 00 00 0d 27 | 00 0c 00 0a 00 03 01 00 |.......'|........|
|00006370| 00 09 ff ff ff ff ff ff | 00 00 0d 5d 00 0c 00 0a |........|...]....|
|00006380| 00 03 00 00 00 09 ff ff | ff ff ff ff 00 00 0d 60 |........|.......`|
|00006390| 00 0c 00 0a 00 03 01 00 | 00 09 ff ff ff ff ff ff |........|........|
|000063a0| 00 00 0e 1b 00 0c 00 0a | 00 03 00 00 00 09 ff ff |........|........|
|000063b0| ff ff ff ff 00 00 11 15 | 00 0c 00 0a 00 03 01 00 |........|........|
|000063c0| 00 09 ff ff ff ff ff ff | 00 00 13 93 00 0c 00 0a |........|........|
|000063d0| 00 03 00 00 00 09 ff ff | ff ff ff ff 00 00 15 d2 |........|........|
|000063e0| 00 0c 00 0a 00 03 01 00 | 00 09 ff ff ff ff ff ff |........|........|
|000063f0| 00 00 16 18 00 0c 00 0a | 00 03 00 00 00 09 ff ff |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.